function | conversion 1.gb.asp
<%
' Get the server-generated HTML code
Function gethttppage (URL)
Dim XmlHttp
Set Xmlhttp=server.createobject ("Microsoft.XMLHTTP")
Xmlhttp.open "Get", Url,false
Xmlhttp.send ()
' Gethttppage=http.responsetext
If Xmlhttp.readystate<>4 then Exit function
Gethttppage=bytes2bstr (Xmlhttp.responsebody)
Set xmlhttp=nothing
If Err.number<>0 then err. Clear
End Function
Function Bytes2bstr (VIN)
Dim Bytesstream,stringreturn
Set Bytesstream = Server.CreateObject ("ADODB. Stream ")
Bytesstream.type = 2
Bytesstream.open
Bytesstream.writetext Vin
bytesstream.position = 0
Bytesstream.charset = "GB2312"
Bytesstream.position = 2
Stringreturn =bytesstream.readtext
Bytesstream.close
Set Bytesstream = Nothing
Bytes2bstr = Stringreturn
End Function
' The page-delimited output function in the transformation function
Sub Splitwords (words)
Into=words
Out= ""
"Response.Write" Total Words: "&len (Into) &" <br> "
For I=1 to Len loops through each character
' Response.Write ' now loops "&i&"/"&len (INTO) &" times, and begins to detect characters "&mid (into,i,1) &" <br> "
If AscW (Mid (into,i,1)) <0 or AscW (Mid (into,i,1)) >255 then ' if it is Simplified Chinese, enter the detection phase
CODE=INSTR (Application ("GB"), Mid (into,i,1)) ' Gets the position of this character in a simplified library
If code then ' if present in Simplified Chinese library
Out=out&mid (Application ("Other_language"), code,1) ' outputs the corresponding traditional characters in the traditional font
' Response.Write ' now outputs the traditional "&i&" characters: "&mid" (Application ("Other_language"), i,1) & "<br>"
Else
Out=out&mid (into,i,1) ' is output
' Response.Write ' now outputs the simplified &i& ' characters ' &mid (into,i,1) & "<br>"
End If
Else
Out=out&mid (into,i,1) ' is output
' Response.Write ' now outputs the simplified &i& ' characters ' &mid (into,i,1) & "<br>"
End If
Next
Response.Write out
End Sub
' Conversion function
function change (words)
Dim gb,other_language,into,out,code,wordsnum,i
wordsnum=300 ' Large page character number definition
' Define a library of simplified characters
Application ("GB") = " Million and professional Condons lost two strict funeral for Li Yiwu Lecho to buy a book for the east of the Asian-produced acres of pro-mu, only from the price of the slouching umbrella Wei Chuan injured 伥 Lun shabby pseudo queue 佥, richest the investigation side of the Aliens executioner Minamata couple the two of you, 偬 hunchback 偾, 傥, champagne and nuo son to Yanzhou Party orchid Guanchenz Animal 冁 inside the gang book to write the army and farmers von Burst conditions frozen net desolate reduce the cold and the Phoenix fu with a kai-chi, Liu just create a delete Don't manipulate the brakes executioner 刿 The sword peel the play to encourage the work of the dynamic excitation and the strength of the 匦 Gui district medical Hua Xie single sell Lou the halogen is 卺 the factory hall The pressure is tired the toilet compartment 厣 the kitchen Stables County three parameter double hair to fold the leaf number sigh scare lv? t listen to Kai Wu na hmm click Bai kuai choking throat creak ring mute xiao Beep 哕 wow 哙 someone the 哝 yo Mark Lao suona call Tut sik Kuch to call the costing, Boo Boingo to call Lu Xiao Regiment Park Chimneys Wai Prisons country map round Holy Kuang A bad block of Li Dam Dock grave Fall Ridge loessial Reclamation Chalky Kaew 埘 Xun Guo cut fall wall strong sound shell pot ready to head clip Lian Huan Fen award Austrian makeup women mom 妩 brood over shan Lou ya GUI Jiao Rao Entertainment paragraph Xian baby chan ao ai wives ohauncey! Grandma Sun Couxian Ningbao Real pet to seek guide life will be the dust taste Yao Gongconbin to do the floor drawer of the year is repeatedly embarrassed Lantau Sandals hillock Rough Hill kui le Gorge the old Jiao peak Yu Zheng Peaks gong sulfhydryl currency handsome Division Lai Sign with frame help 帱 帻 Ms Elaine Power Guang Qing Lu Wu Ku Waste Lin open different kill Zhang Mixia bending bullet strong return to record Yan-Jing-yi Repentance worry 忾 Huai State counsel habits gastro retort despair shabby pity total frontline Yiwen love eternal evil mourning 恹 Kay ce annoyed Yun Yue the exhausted relaxation ashamed mend accustomed to bland anger offers melancholy lazy deserves stupid the 戋 play the war Jian households in the expansion of the door to sweep Yang Disturbance, pull and pull to pull, pull, pull, pull, pull, pull, pull, pull, pull, pick, pull, pull, and make a choice. The squeeze and the loss of the seizure of the fight according to the kidnapping and throwing a brush with whipped to take the 摅 swing with a photo of the 撄, 撺 impressive Save the enemy convergence number Zhai LAN cut off no old Shimai Jinxiao Halo hui temporary Warm surgery machine kill miscellaneous right to Yang Ma polar-structure fir-pivot-cheng-gun maple-lime 柽-tree-like Luan-Weilong building coggygria Oak Column arboreal----------------Alder bridge Betula juniper paddle pile dream Check lattice coffin Casket 椠-elliptic-Luo 榇 Beech--Palmetto Cupboard oars Purlin Huan 欤 European fighter dead War Remnant Meteor mortuary funeral destroyed the hub of the dead felt 毵 氇 gas hydrogen argon The diving Hui Han Tang because they ditch did not Feng Retting wei Hu Muddy Tears 泶, Lok, Xie-pour-splash-water-sprinkling WA jia shallow slurry pouring zhen yingde turbidity test Kuai-ji Liu Hun Hu lai Lian Wei-Eddy Huan Polyester run-tide Lake Lu liling stains gradually 渑 fishing shenyang seepage temperature bay wet Splash 溆 Decanter Yan She Man filter overcharging Luan Beach Ying Xiao Lian Wei dive zhu Lan Lai Hao lights Spirit Disaster could yang furnace Stew wei soy point refining burning rotten hydrocarbon candle smoke tired ye stewed hot ember hot-hwan 焘 love ye slips sacrifice calf the shape 犷 Judah jackal hunting The lone lion 狯 狰 prison 狲 猃 Hunt 猕 猡 the Pig cat to offer the Rex to be in the ring is the seal 珏 Lian Qiong yao ai Ying zan ou electric painting Chang Yu domain boils malaria pandora ulcer abscess convulsion The 痪 the paralytic 瘅 to be addicted to the epilepsy bury to be paralyzed, and the skin of the skin of the skin and the skin of the skin and the skin of the skin. Tridacna Inkstone and Gravel base in the 硗确 of the walks alkali Bojin The gift of your prayer and the secret accumulation of the species of the bald stalk, the filth tax Jesus steady 穑 the poor steal the kiln channeling the nest peep the Sinus difficult vertical competition Benedict Bamboo shoots pen Jian cage 笾 honouring sieve Zheng to raise the signature Jane ze suitcase sheath sisters Xiao 篑 Basket basket Fence Duan the Buy class properties harsh guangdong dung grain grits tight 絷 correction Red Zhou Fiber 纥 about grade 纨 texture Guiling size pure pi yarn Outline nano-woven paper grain spinning new line cyanosis reins 绂 Practice Group Gentry fine weave End crepe trip 绋 to the warp-binding velvet knot around the quiltXuan Jiang complexing 绠 burnt-out silk embroidery sui sash ti Xu Ling continued qi Fei-can go rope dimension mian Shou Stretch silk lock curled fully into the green suffix call paragraph network cable twips indistinct to multicolored 缌 fusiform satin 缏 缑 lowered to slow association wisp path margin of the mantra 缜 缡 constricted 缣 Plantronics ectoplasms, pitch and Miu Yi enjoyed, Zeng, loving, felling,, 缳, and 缵, and the poppy to be recruited, to be punished and to be envied, was walking my, to be ashamed, to be deaf, to be Columbine, to be 聍, to have a kidney, to be swollen, to 聩 Dirty navel brain pus diced foot 脶 face wax greasy 腽 teng patellar yu 舣 ship Cabin Hygiene Hardship Yi Festival 芈 Vespasian Wu Lu 苁 Reed descurainiae Amaranth Chang Cang zhuxi Su stem long Tsutaichi ying solitary Cocoon jing pod 荛 cubeb buckwheat hui chestnut ying Luo fluorescent nettle 荩 sun shade hongyexintong medicine pro-hand Lotus Dill 莴 Siegesbeckiae obtained 莸 Ying-ying Luo xu Lian Cissa onion 蒇 蒉 Shing thistle Hedges 蓣 hongying mo Qiang Cayratia 蔺蔼蕲 Yun----------------------------------------- 蝈 cicada Scorpion being caged counter salamanders earwigs Peacemaker title complement gun coat Niao socks attack The crotch walks 裣 trousers Tuck jacket rags See view Regulation Look 觇 Exploit wizard 觌 involved Gou kun qu goblets contact 觯 Credit Transcript set out to identify 讦 讧 to let the lecture on the hearing of the talks taboo 讴 ju, Xu Yu. On the theory of irony, the establishment of an interview------------------------------------------------------- Chant AH please Zhu Chino read 诼 诽 class shifted flattery who recite tune Chan Zhun to talk about Yi 谇 lie about the 谌谍 Oracle 谔 slander to understand the truth riddle 谖 boaster Mo voluntarily Xie rumor slander 谡 谩 The 谫 fallacy Tan speak spectrum lumpy plague delirium prophecy Pui-Yin Gong responsible for the loss of the quality of the goods sold by the poor to reduce the purchase of the 贳 paste expensive 贶 loan trade fee He Hui thief Zhi Jia bribe wealth lease, bribery gai of stolen assets 赆, 赇 relief lai Credit reward 赓 compensation Danfo pay the fat 赙 Match the false praise support win Gan Zhao 趱 fan leap stumbled 跞 practice Qiao 跸 Undercover Seizo dance 踌 the stumble 踯 nie jump to 蹒 蹰 the trunk car rolling rail porch Xuan yoke wheel soft boom 躏 bounced Shevchenko 轳 light zhi Chang sedan squeaked Lu compared to the y of the chariot of the happy and the bridle shafts of the rolling reel, resounds, and the other side of the river, he moved to the far away from the 迟迩迳 Trail. 逦-Deng 邹邺邻 郸 Christie sauce Yan 酾 stuffed with gadolinium-yttrium needle nail chiu plutonium ruthenium thorium Kushiro samarium vanadium fishing mendelevium nd-chai calcium titanium giant blunt note clock sodium barium steel sheet key chin June tungsten Hook scandium francium holmium'll Shang money Zheng pliers Cobalt-pot coltan cymbals cymbal Tomahawk diamond molybdenum tantalum potassium dian uranium-iron-platinum-Mingshuo lead riveting cerium-bismuth-niobium-cheng-rhodium-doped europium-Forcipomyia Nao clang-copper-aluminum-indium-foil-Milling collar thulium (HF) Undercover hafnium 铫 Chrome-铮 Cesium-iridium shovel 铴 Ammonium AG rubidium cast lawrencium shop rhenium terbium chain Keng pin lock Lithium hoe Pot zirconium osmium rust file 锊 Feng Zinc sharp antimony end up bending their heads hot 锖 germanium false anchor Adze Kua 锟 tin occluded gong Hammer cone Jin 锩 锬 ingot key saw manganese Zi Shan wedge kailian clang strontium 锷 its utensils spades Chung forged sou fines magnesium lou 镄 Hi town cadmium tweezers engraved nickel lutetium pickaxe pound yi Gallium wrought rong dart boring and trowel Woonyoungia Mirror dysprosium arrowheads turnings tan handcuffs protactinium upsetting lanthanum praseodymium offerings stirrup in a wok radium bracelet sickle ytterbium bodyguard set long latch Flash yan shut ask Chuang Leap 闱 Leisure Hong San Min stuffy gate to hear 闼 min Lu Valve Pavilion there 阃 lot read Langfeng threshold castrate Changxu Eris Am 阎阏 the 阒 width tie down the 阙阚 team Yang Yin array Lu Sunchen xing Shan 陧 meteorite risk with the yin June difficult young collation Gimli fog ji Margaret beautiful static nightmare dal 鞯 Wei Chi the Han Tao Rhyme page top are mandatory to Xu stubborn Gutton qi to ode 颃 skull collar quite neck jie cheek Chin Ying Yin zhuan chin glume jaw 颟 yan forehead hao flutter wind squall sa jdk go flying to feast on hunger Táng chaos the 饩 cooking filled onto rice drink money decorated full feed yi bait rates dumplings Cake 饽 hungry 馄 stuffing Hall feed sour greedy steamed bun-famine Eels cuisine horse with a pack of tame Panyo barge donkey Zang Drive 驷 Consort Colt inCamel Crossbow Driving aweary xiao Scold arrogant hua 骆骇骈 Li Cheng Test June ride 骒 骓 骖 cheat stallion Sao Wu ao Liu Qian gelding Puma Mule Cong 骣 longchamp crossbones hip patellar sideburns smile pixy fish squid Lu Ying bass 鲋 salmon Bao tuna oolitic 鲒 mackerel ectenes sturgeon svm Silver carp booby carp gun shark carp crucian carp mackerel Rendahli minnows herring kun brachypomum pinchonii catfish seabream mullet Gill alligator 鳆 huso AO-fin sole widowed ray 鳓 swimbladder whiting turtle Siniperca eel scales trout snakehead bird kite-crow Gull Raven Bustard Poison Coo Thrush Cormorant Duck 鸯 Strigidae Robin Tuo Lucille Prey Emu 鸹 鸺 pigeon Luan Hong bo bird cuckoo the Goose 鹆 swinhoe ukai Kakapo Magpie 鹌 bulbul Peng Quail 鹕 e Uighur mo Harrier 鹣 Hok Ying Partridge pipit wrens Prinia Eagle Snipe, 鹾, wheat bran, Huang 黪 strider pelochely bibroni 鼍 mole qi 齑 tooth 龀 龃 age Buck 龆 Bared gingival 龉 龊 caries 龌 Dragon Gong niche Turtle "
' Define other languages (trad.), which corresponds to the simplified one by one
Application ("other_language") = " It's a very serious thing that's been thrown into the fun of Joe's book-buying thanks mutual benefit Acre Dear blaspheming, from Rurunrun Barn, they are the most valuable 傴 umbrella, 倀, 傖 queue 僉 Batman 僑 snobbish peers 謝醒儂 俁 儔 儼 both 儷 the debt propensity 儉 傯 僂 the 僨 儻 save Hime 儺 confirmed of the 兗 of the inner---------囅 Fung the, 淒, and compact, and 凜, the Phoenix 鳧, thin 鑿 Don't 剄 the brakes 劊 劌 剴 The 剮 stripped the advise 勱 the juice of the labor manageri am looking the evenly district, 匭 scarcity, Toulouse, 鹵 Factory, 巹, 厙 toilet compartment, and cook 厴 County, building the three-fold 廄 chattering scare Lu? Tons listen to the Wu 嘸 囈 嘔 嚦 唄 members 咼 嗆 oooo ving tsun throat 嚀 dumb 噠 嘵 beep 噦 rushing 噲 嚌 噥 yo 嘜 嘮 suona 嘖 xianse 囀 嚙 Tsunami