ASP converts Chinese to pinyin automatically

Source: Internet
Author: User
Tags ming

<%


'**************************************************


' Function name: Chtoeng


' function: convert Chinese into pinyin automatically


' Parameters: Zh_str-----The Chinese to convert


' return value: converted Pinyin


'**************************************************


Dim Zh_d,zh_e,zh_a,zh_b,zh_i,zh_type


Zh_type=1 '//0-all lowercase 1-First letter capital


Set Zh_d = CreateObject ("Scripting.Dictionary")


If zh_type=0 Then


Zh_d.add "A",-20319


Zh_d.add "AI",-20317


Zh_d.add "An",-20304


Zh_d.add "Ang",-20295


Zh_d.add "AO",-20292


Zh_d.add "Ba",-20283


Zh_d.add "Bai",-20265


Zh_d.add "Ban",-20257


Zh_d.add "Bang",-20242


Zh_d.add "Bao",-20230


Zh_d.add "Bei",-20051


Zh_d.add "Ben",-20036


Zh_d.add "Beng",-20032


Zh_d.add "Bi",-20026


Zh_d.add "Bian",-20002


Zh_d.add "Biao",-19990


Zh_d.add "Bie",-19986


Zh_d.add "Bin",-19982


Zh_d.add "Bing",-19976


Zh_d.add "Bo",-19805


Zh_d.add "Bu",-19784


Zh_d.add "Ca",-19775


Zh_d.add "Cai",-19774


Zh_d.add "Can",-19763


Zh_d.add "Cang",-19756


Zh_d.add "Cao",-19751


Zh_d.add "Ce",-19746


Zh_d.add "CEng",-19741


Zh_d.add "Cha",-19739


Zh_d.add "Chai",-19728


Zh_d.add "Chan",-19725


Zh_d.add "Chang",-19715


Zh_d.add "Chao",-19540


Zh_d.add "Che",-19531


Zh_d.add "Chen",-19525


Zh_d.add "Cheng",-19515


Zh_d.add "Chi",-19500


Zh_d.add "Chong",-19484


Zh_d.add "Chou",-19479


Zh_d.add "Chu",-19467


Zh_d.add "Chuai",-19289


Zh_d.add "Chuan",-19288


Zh_d.add "Chuang",-19281


Zh_d.add "Chui",-19275


Zh_d.add "Chun",-19270


Zh_d.add "Chuo",-19263


Zh_d.add "CI",-19261


Zh_d.add "Cong",-19249


Zh_d.add "Cou",-19243


Zh_d.add "CU",-19242


Zh_d.add "Cuan",-19238


Zh_d.add "Cui",-19235


Zh_d.add "Cun",-19227


Zh_d.add "CuO",-19224


Zh_d.add "Da",-19218


Zh_d.add "Dai",-19212


Zh_d.add "Dan",-19038


Zh_d.add "Dang",-19023


Zh_d.add "DAO",-19018


Zh_d.add "de",-19006


Zh_d.add "Deng",-19003


Zh_d.add "Di",-18996


Zh_d.add "Dian",-18977


Zh_d.add "Diao",-18961


Zh_d.add "Die",-18952


Zh_d.add "Ding",-18783


Zh_d.add "Diu",-18774


Zh_d.add "Dong",-18773


Zh_d.add "Dou",-18763


Zh_d.add "Du",-18756


Zh_d.add "Duan",-18741


Zh_d.add "DUI",-18735


Zh_d.add "Dun",-18731


Zh_d.add "Duo",-18722


Zh_d.add "E",-18710


Zh_d.add "en",-18697


Zh_d.add "ER",-18696


Zh_d.add "FA",-18526


Zh_d.add "Fan",-18518


Zh_d.add "Fang",-18501


Zh_d.add "Fei",-18490


Zh_d.add "Fen",-18478


Zh_d.add "Feng",-18463


Zh_d.add "fo",-18448


Zh_d.add "Fou",-18447


Zh_d.add "Fu",-18446


Zh_d.add "GA",-18239


Zh_d.add "Gai",-18237


Zh_d.add "Gan",-18231


Zh_d.add "Gang",-18220


Zh_d.add "Gao",-18211


Zh_d.add "GE",-18201


Zh_d.add "GEi",-18184


Zh_d.add "Gen",-18183


Zh_d.add "Geng",-18181


Zh_d.add "Gong",-18012


Zh_d.add "Gou",-17997


Zh_d.add "gu",-17988


Zh_d.add "Gua",-17970


Zh_d.add "Guai",-17964


Zh_d.add "Guan",-17961


Zh_d.add "Guang",-17950


Zh_d.add "GUI",-17947


Zh_d.add "Gun",-17931


Zh_d.add "Guo",-17928


Zh_d.add "Ha",-17922


Zh_d.add "Hai",-17759


Zh_d.add "Han",-17752


Zh_d.add "Hang",-17733


Zh_d.add "Hao",-17730


Zh_d.add "he",-17721


Zh_d.add "Hei",-17703


Zh_d.add "Hen",-17701


Zh_d.add "Heng",-17697


Zh_d.add ","-17692


Zh_d.add "Hou",-17683


Zh_d.add "Hu",-17676


Zh_d.add "Hua",-17496


Zh_d.add "Huai",-17487


Zh_d.add "Huan",-17482


Zh_d.add "Huang",-17468


Zh_d.add "Hui",-17454


Zh_d.add "Hun",-17433


Zh_d.add "Huo",-17427


Zh_d.add "Ji",-17417


Zh_d.add "Jia",-17202


Zh_d.add "Jian",-17185


Zh_d.add "Jiang",-16983


Zh_d.add "Jiao",-16970


Zh_d.add "Jie",-16942


Zh_d.add "Jin",-16915


Zh_d.add "Jing",-16733


Zh_d.add "Jiong",-16708


Zh_d.add "JIU",-16706


Zh_d.add "Ju",-16689


Zh_d.add "Juan",-16664


Zh_d.add "Jue",-16657


Zh_d.add "June",-16647


Zh_d.add "Ka",-16474


Zh_d.add "Kai",-16470


Zh_d.add "Kan",-16465


Zh_d.add "Kang",-16459


Zh_d.add "Kao",-16452


Zh_d.add "Ke",-16448


Zh_d.add "Ken",-16433


Zh_d.add "Keng",-16429


Zh_d.add "Kong",-16427


Zh_d.add "Kou",-16423


Zh_d.add "Ku",-16419


Zh_d.add "Kua",-16412


Zh_d.add "Kuai",-16407


Zh_d.add "Kuan",-16403


Zh_d.add "Kuang",-16401


Zh_d.add "Kui",-16393


Zh_d.add "Kun",-16220


Zh_d.add "Kuo",-16216


Zh_d.add "La",-16212


Zh_d.add "Lai",-16205


Zh_d.add "LAN",-16202


Zh_d.add "Lang",-16187


Zh_d.add "Lao",-16180


Zh_d.add "Le",-16171


Zh_d.add "Lei",-16169


Zh_d.add "Leng",-16158


Zh_d.add "Li",-16155


Zh_d.add "Lia",-15959


Zh_d.add "Lian",-15958


Zh_d.add "Liang",-15944


Zh_d.add "Liao",-15933


Zh_d.add "Lie",-15920


Zh_d.add "Lin",-15915


Zh_d.add "Ling",-15903


Zh_d.add "Liu",-15889


Zh_d.add "Long",-15878


Zh_d.add "Lou",-15707


Zh_d.add "Lu",-15701


Zh_d.add "LV",-15681


Zh_d.add "Luan",-15667


Zh_d.add "Lue",-15661


Zh_d.add "Lun",-15659


Zh_d.add "Luo",-15652


Zh_d.add "Ma",-15640


Zh_d.add "Mai",-15631


Zh_d.add "Man",-15625


Zh_d.add "Mang",-15454


Zh_d.add "Mao",-15448


Zh_d.add "Me",-15436


Zh_d.add "Mei",-15435


Zh_d.add "Men",-15419


Zh_d.add "Meng",-15416


Zh_d.add "Mi",-15408


Zh_d.add "Mian",-15394


Zh_d.add "Miao",-15385


Zh_d.add "Mie",-15377


Zh_d.add "Min",-15375


Zh_d.add "Ming",-15369


Zh_d.add "Miu",-15363


Zh_d.add "Mo",-15362


Zh_d.add "MoU",-15183


Zh_d.add "Mu",-15180


Zh_d.add "NA",-15165


Zh_d.add "Nai",-15158


Zh_d.add "Nan",-15153


Zh_d.add "Nang",-15150


Zh_d.add "Nao",-15149


Zh_d.add "NE",-15144


Zh_d.add "Nei",-15143


Zh_d.add "nen",-15141


Zh_d.add "Neng",-15140


Zh_d.add "Ni",-15139


Zh_d.add "Nian",-15128


Zh_d.add "Niang",-15121


Zh_d.add "Niao",-15119


Zh_d.add "Nie",-15117


Zh_d.add "Nin",-15110


Zh_d.add "Ning",-15109


Zh_d.add "Niu",-14941


Zh_d.add "Nong",-14937


Zh_d.add "Nu",-14933


Zh_d.add "NV",-14930


Zh_d.add "Nuan",-14929


Zh_d.add "Nue",-14928


Zh_d.add "Nuo",-14926


Zh_d.add "O",-14922


Zh_d.add "ou",-14921


Zh_d.add "Pa",-14914


Zh_d.add "Pai",-14908


Zh_d.add "Pan",-14902


Zh_d.add "Pang",-14894


Zh_d.add "Pao",-14889


Zh_d.add "Pei",-14882


Zh_d.add "Pen",-14873


Zh_d.add "Peng",-14871


Zh_d.add "PI",-14857


Zh_d.add "Pian",-14678


Zh_d.add "Piao",-14674


Zh_d.add "Pie",-14670


Zh_d.add "Pin",-14668


Zh_d.add "Ping",-14663


Zh_d.add "Po",-14654


Zh_d.add "Pu",-14645


Zh_d.add "Qi",-14630


Zh_d.add "QIA",-14594


Zh_d.add "Qian",-14429


Zh_d.add "Qiang",-14407


Zh_d.add "Qiao",-14399


Zh_d.add "Qie",-14384


Zh_d.add "Qin",-14379


Zh_d.add "Qing",-14368


Zh_d.add "Qiong",-14355


Zh_d.add "Qiu",-14353


Zh_d.add "Qu",-14345


Zh_d.add "Quan",-14170


Zh_d.add "que",-14159


Zh_d.add "Qun",-14151


Zh_d.add "ran",-14149


Zh_d.add "Rang",-14145


Zh_d.add "Rao",-14140


Zh_d.add "Re",-14137


Zh_d.add "Ren",-14135


Zh_d.add "Reng",-14125


Zh_d.add "Ri",-14123


Zh_d.add "Rong",-14122


Zh_d.add "Rou",-14112


Zh_d.add "Ru",-14109


Zh_d.add "Ruan",-14099


Zh_d.add "Rui",-14097


Zh_d.add "Run",-14094


Zh_d.add "Ruo",-14092


Zh_d.add "sa",-14090


Zh_d.add "Sai",-14087


Zh_d.add "San",-14083


Zh_d.add "sang",-13917


Zh_d.add "Sao",-13914


Zh_d.add "se",-13910


Zh_d.add "Sen",-13907


Zh_d.add "Seng",-13906


Zh_d.add "Sha",-13905


Zh_d.add "Shai",-13896


Zh_d.add "Shan",-13894


Zh_d.add "Shang",-13878


Zh_d.add "Shao",-13870


Zh_d.add "She",-13859


Zh_d.add "Shen",-13847


Zh_d.add "Sheng",-13831


Zh_d.add "Shi",-13658


Zh_d.add "Shou",-13611


Zh_d.add "Shu",-13601


Zh_d.add "Shua",-13406


Zh_d.add "Shuai",-13404


Zh_d.add "Shuan",-13400


Zh_d.add "Shuang",-13398


Zh_d.add "Shui",-13395


Zh_d.add "Shun",-13391


Zh_d.add "Shuo",-13387


Zh_d.add "Si",-13383


Zh_d.add "Song",-13367


Zh_d.add "Sou",-13359


Zh_d.add "Su",-13356


Zh_d.add "Suan",-13343


Zh_d.add "Sui",-13340


Zh_d.add "Sun",-13329


Zh_d.add "suo",-13326


Zh_d.add "Ta",-13318


Zh_d.add "Tai",-13147


Zh_d.add "Tan",-13138


Zh_d.add "Tang",-13120


Zh_d.add "Tao",-13107


Zh_d.add "TE",-13096


Zh_d.add "Teng",-13095


Zh_d.add "Ti",-13091


Zh_d.add "Tian",-13076


Zh_d.add "Tiao",-13068


Zh_d.add "Tie",-13063


Zh_d.add "Ting",-13060


Zh_d.add "Tong",-12888


Zh_d.add "Tou",-12875


Zh_d.add "Tu",-12871


Zh_d.add "Tuan",-12860


Zh_d.add "Tui",-12858


Zh_d.add "Tun",-12852


Zh_d.add "Tuo",-12849


Zh_d.add "WA",-12838


Zh_d.add "Wai",-12831


Zh_d.add "Wan",-12829


Zh_d.add "Wang",-12812


Zh_d.add "Wei",-12802


Zh_d.add "Wen",-12607


Zh_d.add "Weng",-12597


Zh_d.add "Wo",-12594


Zh_d.add "WU",-12585


Zh_d.add "Xi",-12556


Zh_d.add "Xia",-12359


Zh_d.add "Xian",-12346


Zh_d.add "Xiang",-12320


Zh_d.add "Xiao",-12300


Zh_d.add "Xie",-12120


Zh_d.add "Xin",-12099


Zh_d.add "Xing",-12089


Zh_d.add "Xiong",-12074


Zh_d.add "Xiu",-12067


Zh_d.add "Xu",-12058


Zh_d.add "Xuan",-12039


Zh_d.add "Xue",-11867


Zh_d.add "Xun",-11861


Zh_d.add "Ya",-11847


Zh_d.add "Yan",-11831


Zh_d.add "Yang",-11798


Zh_d.add "Yao",-11781


Zh_d.add "Ye",-11604


Zh_d.add "Yi",-11589


Zh_d.add "Yin",-11536


Zh_d.add "Ying",-11358


Zh_d.add "Yo",-11340


Zh_d.add "Yong",-11339


Zh_d.add "You",-11324


Zh_d.add "Yu",-11303


Zh_d.add "Yuan",-11097


Zh_d.add "Yue",-11077


Zh_d.add "Yun",-11067


Zh_d.add "Za",-11055


Zh_d.add "Zai",-11052


Zh_d.add "Zan",-11045


Zh_d.add "Zang",-11041


Zh_d.add "Zao",-11038


Zh_d.add "Ze",-11024


Zh_d.add "Zei",-11020


Zh_d.add "Zen",-11019


Zh_d.add "Zeng",-11018


Zh_d.add "Zha",-11014


Zh_d.add "Zhai",-10838


Zh_d.add "Zhan",-10832


Zh_d.add "Zhang",-10815


Zh_d.add "Zhao",-10800


Zh_d.add "Zhe",-10790


Zh_d.add "Zhen",-10780


Zh_d.add "Zheng",-10764


Zh_d.add "Zhi",-10587


Zh_d.add "Zhong",-10544


Zh_d.add "Zhou",-10533


Zh_d.add "Zhu",-10519


Zh_d.add "Zhua",-10331


Zh_d.add "Zhuai",-10329


Zh_d.add "Zhuan",-10328


Zh_d.add "Zhuang",-10322


Zh_d.add "Zhui",-10315


Zh_d.add "Zhun",-10309


Zh_d.add "Zhuo",-10307


Zh_d.add "Zi",-10296


Zh_d.add "Zong",-10281


Zh_d.add "Zou",-10274


Zh_d.add "zu",-10270


Zh_d.add "Zuan",-10262


Zh_d.add "Zui",-10260


Zh_d.add "Zun",-10256


Zh_d.add "Zuo",-10254


Else


Zh_d.add "A",-20319


Zh_d.add "Ai",-20317


Zh_d.add "An",-20304


Zh_d.add "Ang",-20295


Zh_d.add "Ao",-20292


Zh_d.add "Bba",-20283


Zh_d.add "Bai",-20265


Zh_d.add "Ban",-20257


Zh_d.add "Bang",-20242


Zh_d.add "Bao",-20230


Zh_d.add "Bei",-20051


Zh_d.add "Ben",-20036


Zh_d.add "Beng",-20032


Zh_d.add "Bi",-20026


Zh_d.add "Bian",-20002


Zh_d.add "Biao",-19990


Zh_d.add "Bie",-19986


Zh_d.add "Bin",-19982


Zh_d.add "Bing",-19976


Zh_d.add "Bo",-19805


Zh_d.add "Bu",-19784


Zh_d.add "Ba",-19775


Zh_d.add "Cai",-19774


Zh_d.add "Can",-19763


Zh_d.add "Cang",-19756


Zh_d.add "Cao",-19751


Zh_d.add "Ce",-19746


Zh_d.add "Ceng",-19741


Zh_d.add "Cha",-19739


Zh_d.add "Chai",-19728


Zh_d.add "Chan",-19725


Zh_d.add "Chang",-19715


Zh_d.add "Chao",-19540


Zh_d.add "Che",-19531


Zh_d.add "Chen",-19525


Zh_d.add "Cheng",-19515


Zh_d.add "Chi",-19500


Zh_d.add "Chong",-19484


Zh_d.add "Chou",-19479


Zh_d.add "Chu",-19467


Zh_d.add "Chuai",-19289


Zh_d.add "Chuan",-19288


Zh_d.add "Chuang",-19281


Zh_d.add "Chui",-19275


Zh_d.add "Chun",-19270


Zh_d.add "Chuo",-19263


Zh_d.add "Ci",-19261


Zh_d.add "Cong",-19249


Zh_d.add "Cou",-19243


Zh_d.add "Cu",-19242


Zh_d.add "Ccuan",-19238


Zh_d.add "Cui",-19235


Zh_d.add "Cun",-19227


Zh_d.add "Cuo",-19224


Zh_d.add "Da",-19218


Zh_d.add "Dai",-19212


Zh_d.add "Dan",-19038


Zh_d.add "Dang",-19023


Zh_d.add "Dao",-19018


Zh_d.add "De",-19006


Zh_d.add "Deng",-19003


Zh_d.add "Di",-18996


Zh_d.add "Dian",-18977


Zh_d.add "Diao",-18961


Zh_d.add "Die",-18952


Zh_d.add "Ding",-18783


Zh_d.add "Diu",-18774


Zh_d.add "Dong",-18773


Zh_d.add "Dou",-18763


Zh_d.add "Du",-18756


Zh_d.add "Duan",-18741


Zh_d.add "Dui",-18735


Zh_d.add "Dun",-18731


Zh_d.add "Dduo",-18722


Zh_d.add "E",-18710


Zh_d.add "En",-18697


Zh_d.add "Er",-18696


Zh_d.add "Fa",-18526


Zh_d.add "Fan",-18518


Zh_d.add "Fang",-18501


Zh_d.add "Fei",-18490


Zh_d.add "Fen",-18478


Zh_d.add "Feng",-18463


Zh_d.add "Fo",-18448


Zh_d.add "Fou",-18447


Zh_d.add "Fu",-18446


Zh_d.add "Ga",-18239


Zh_d.add "Gai",-18237


Zh_d.add "Gan",-18231


Zh_d.add "Gang",-18220


Zh_d.add "Gao",-18211


Zh_d.add "Ge",-18201


Zh_d.add "Gei",-18184


Zh_d.add "Gen",-18183


Zh_d.add "Geng",-18181


Zh_d.add "Gong",-18012


Zh_d.add "Gou",-17997


Zh_d.add "Gu",-17988


Zh_d.add "Gua",-17970


Zh_d.add "Guai",-17964


Zh_d.add "Guan",-17961


Zh_d.add "Guang",-17950


Zh_d.add "Gui",-17947


Zh_d.add "Gun",-17931


Zh_d.add "Guo",-17928


Zh_d.add "Ha",-17922


Zh_d.add "Hai",-17759


Zh_d.add "Han",-17752


Zh_d.add "Hang",-17733


Zh_d.add "Hao",-17730


Zh_d.add "he",-17721


Zh_d.add "Hei",-17703


Zh_d.add "Hen",-17701


Zh_d.add "Heng",-17697


Zh_d.add ","-17692


Zh_d.add "Hou",-17683


Zh_d.add "Hu",-17676


Zh_d.add "Hua",-17496


Zh_d.add "Huai",-17487


Zh_d.add "Huan",-17482


Zh_d.add "Huang",-17468


Zh_d.add "Hui",-17454


Zh_d.add "Hun",-17433


Zh_d.add "Huo",-17427


Zh_d.add "Ji",-17417


Zh_d.add "Jia",-17202


Zh_d.add "Jian",-17185


Zh_d.add "Jiang",-16983


Zh_d.add "Jiao",-16970


Zh_d.add "Jie",-16942


Zh_d.add "Jin",-16915


Zh_d.add "Jing",-16733


Zh_d.add "Jiong",-16708


Zh_d.add "Jiu",-16706


Zh_d.add "Ju",-16689


Zh_d.add "Juan",-16664


Zh_d.add "Jue",-16657


Zh_d.add "June",-16647


Zh_d.add "Ka",-16474


Zh_d.add "Kai",-16470


Zh_d.add "Kan",-16465


Zh_d.add "Kang",-16459


Zh_d.add "Kao",-16452


Zh_d.add "Ke",-16448


Zh_d.add "Ken",-16433


Zh_d.add "Keng",-16429


Zh_d.add "Kong",-16427


Zh_d.add "Kou",-16423


Zh_d.add "Ku",-16419


Zh_d.add "Kua",-16412


Zh_d.add "Kuai",-16407


Zh_d.add "Kuan",-16403


Zh_d.add "Kuang",-16401


Zh_d.add "Kui",-16393


Zh_d.add "Kun",-16220


Zh_d.add "Kuo",-16216


Zh_d.add "La",-16212


Zh_d.add "Lai",-16205


Zh_d.add "Lan",-16202


Zh_d.add "Lang",-16187


Zh_d.add "Lao",-16180


Zh_d.add "Le",-16171


Zh_d.add "Lei",-16169


Zh_d.add "Leng",-16158


Zh_d.add "Li",-16155


Zh_d.add "Lia",-15959


Zh_d.add "Lian",-15958


Zh_d.add "Liang",-15944


Zh_d.add "Liao",-15933


Zh_d.add "Lie",-15920


Zh_d.add "Lin",-15915


Zh_d.add "Ling",-15903


Zh_d.add "Liu",-15889


Zh_d.add "Long",-15878


Zh_d.add "Lou",-15707


Zh_d.add "Lu",-15701


Zh_d.add "Lv",-15681


Zh_d.add "Luan",-15667


Zh_d.add "Lue",-15661


Zh_d.add "Lun",-15659


Zh_d.add "Luo",-15652


Zh_d.add "Ma",-15640


Zh_d.add "Mai",-15631


Zh_d.add "Man",-15625


Zh_d.add "Mang",-15454


Zh_d.add "Mao",-15448


Zh_d.add "Me",-15436


Zh_d.add "Mei",-15435


Zh_d.add "Men",-15419


Zh_d.add "Meng",-15416


Zh_d.add "Mi",-15408


Zh_d.add "Mian",-15394


Zh_d.add "Miao",-15385


Zh_d.add "Mie",-15377


Zh_d.add "Min",-15375


Zh_d.add "Ming",-15369


Zh_d.add "Miu",-15363


Zh_d.add "Mo",-15362


Zh_d.add "Mou",-15183


Zh_d.add "Mu",-15180


Zh_d.add "Na",-15165


Zh_d.add "Nai",-15158


Zh_d.add "Nan",-15153


Zh_d.add "Nang",-15150


Zh_d.add "Nao",-15149


Zh_d.add "Ne",-15144


Zh_d.add "Nei",-15143


Zh_d.add "nen",-15141


Zh_d.add "Neng",-15140


Zh_d.add "Ni",-15139


Zh_d.add "Nian",-15128


Zh_d.add "Niang",-15121


Zh_d.add "Niao",-15119


Zh_d.add "Nie",-15117


Zh_d.add "Nin",-15110


Zh_d.add "Ning",-15109


Zh_d.add "Niu",-14941


Zh_d.add "Nong",-14937


Zh_d.add "Nu",-14933


Zh_d.add "Nv",-14930


Zh_d.add "Nuan",-14929


Zh_d.add "Nue",-14928


Zh_d.add "Nuo",-14926


Zh_d.add "O",-14922


Zh_d.add "Ou",-14921


Zh_d.add "Pa",-14914


Zh_d.add "Pai",-14908


Zh_d.add "Pan",-14902


Zh_d.add "Pang",-14894


Zh_d.add "Pao",-14889


Zh_d.add "Pei",-14882


Zh_d.add "Pen",-14873


Zh_d.add "Peng",-14871


Zh_d.add "Pi",-14857


Zh_d.add "Pian",-14678


Zh_d.add "Piao",-14674


Zh_d.add "Pie",-14670


Zh_d.add "Pin",-14668


Zh_d.add "Ping",-14663


Zh_d.add "Po",-14654


Zh_d.add "Pu",-14645


Zh_d.add "Qi",-14630


Zh_d.add "QIA",-14594


Zh_d.add "Qian",-14429


Zh_d.add "Qiang",-14407


Zh_d.add "Qiao",-14399


Zh_d.add "Qie",-14384


Zh_d.add "Qin",-14379


Zh_d.add "Qing",-14368


Zh_d.add "Qiong",-14355


Zh_d.add "Qiu",-14353


Zh_d.add "Qu",-14345


Zh_d.add "Quan",-14170


Zh_d.add "Que",-14159


Zh_d.add "Qun",-14151


Zh_d.add "Ran",-14149


Zh_d.add "Rang",-14145


Zh_d.add "Rao",-14140


Zh_d.add "Re",-14137


Zh_d.add "Ren",-14135


Zh_d.add "Reng",-14125


Zh_d.add "Ri",-14123


Zh_d.add "Rong",-14122


Zh_d.add "Rou",-14112


Zh_d.add "Ru",-14109


Zh_d.add "Ruan",-14099


Zh_d.add "Rui",-14097


Zh_d.add "Run",-14094


Zh_d.add "Ruo",-14092


Zh_d.add "Sa",-14090


Zh_d.add "Sai",-14087


Zh_d.add "San",-14083


Zh_d.add "Sang",-13917


Zh_d.add "Sao",-13914


Zh_d.add "Se",-13910


Zh_d.add "Sen",-13907


Zh_d.add "Seng",-13906


Zh_d.add "Sha",-13905


Zh_d.add "Shai",-13896


Zh_d.add "Shan",-13894


Zh_d.add "Shang",-13878


Zh_d.add "Shao",-13870


Zh_d.add "She",-13859


Zh_d.add "Shen",-13847


Zh_d.add "Sheng",-13831


Zh_d.add "Shi",-13658


Zh_d.add "Sshou",-13611


Zh_d.add "Shu",-13601


Zh_d.add "Shua",-13406


Zh_d.add "Shuai",-13404


Zh_d.add "Shuan",-13400


Zh_d.add "Shuang",-13398


Zh_d.add "Shui",-13395


Zh_d.add "Shun",-13391


Zh_d.add "Shuo",-13387


Zh_d.add "Si",-13383


Zh_d.add "Song",-13367


Zh_d.add "Sou",-13359


Zh_d.add "Su",-13356


Zh_d.add "Suan",-13343


Zh_d.add "Sui",-13340


Zh_d.add "Sun",-13329


Zh_d.add "Suo",-13326


Zh_d.add "Ta",-13318


Zh_d.add "Tai",-13147


Zh_d.add "Tan",-13138


Zh_d.add "Tang",-13120


Zh_d.add "Tao",-13107


Zh_d.add "Te",-13096


Zh_d.add "Teng",-13095


Zh_d.add "Ti",-13091


Zh_d.add "Tian",-13076


Zh_d.add "Tiao",-13068


Zh_d.add "Tie",-13063


Zh_d.add "Ting",-13060


Zh_d.add "Tong",-12888


Zh_d.add "Tou",-12875


Zh_d.add "Tu",-12871


Zh_d.add "Tuan",-12860


Zh_d.add "Tui",-12858


Zh_d.add "Tun",-12852


Zh_d.add "Tuo",-12849


Zh_d.add "Wa",-12838


Zh_d.add "Wai",-12831


Zh_d.add "Wan",-12829


Zh_d.add "Wang",-12812


Zh_d.add "Wei",-12802


Zh_d.add "Wen",-12607


Zh_d.add "Weng",-12597


Zh_d.add "Wo",-12594


Zh_d.add "Wu",-12585


Zh_d.add "Xi",-12556


Zh_d.add "Xia",-12359


Zh_d.add "Xian",-12346


Zh_d.add "Xiang",-12320


Zh_d.add "Xiao",-12300


Zh_d.add "Xie",-12120


Zh_d.add "Xin",-12099


Zh_d.add "Xing",-12089


Zh_d.add "Xiong",-12074


Zh_d.add "Xiu",-12067


Zh_d.add "Xu",-12058


Zh_d.add "Xuan",-12039


Zh_d.add "Xue",-11867


Zh_d.add "Xun",-11861


Zh_d.add "Ya",-11847


Zh_d.add "Yan",-11831


Zh_d.add "Yang",-11798


Zh_d.add "Yao",-11781


Zh_d.add "Ye",-11604


Zh_d.add "Yi",-11589


Zh_d.add "Yin",-11536


Zh_d.add "Ying",-11358


Zh_d.add "Yo",-11340


Zh_d.add "Yong",-11339


Zh_d.add "You",-11324


Zh_d.add "Yu",-11303


Zh_d.add "Yuan",-11097


Zh_d.add "Yue",-11077


Zh_d.add "Yun",-11067


Zh_d.add "Za",-11055


Zh_d.add "Zai",-11052


Zh_d.add "Zan",-11045


Zh_d.add "Zang",-11041


Zh_d.add "Zao",-11038


Zh_d.add "Ze",-11024


Zh_d.add "Zei",-11020


Zh_d.add "Zen",-11019


Zh_d.add "Zeng",-11018


Zh_d.add "Zha",-11014


Zh_d.add "Zhai",-10838


Zh_d.add "Zhan",-10832


Zh_d.add "Zhang",-10815


Zh_d.add "Zhao",-10800


Zh_d.add "Zhe",-10790


Zh_d.add "Zhen",-10780


Zh_d.add "Zheng",-10764


Zh_d.add "Zhi",-10587


Zh_d.add "Zhong",-10544


Zh_d.add "Zhou",-10533


Zh_d.add "Zhu",-10519


Zh_d.add "Zhua",-10331


Zh_d.add "Zhuai",-10329


Zh_d.add "Zhuan",-10328


Zh_d.add "Zhuang",-10322


Zh_d.add "Zhui",-10315


Zh_d.add "Zhun",-10309


Zh_d.add "Zhuo",-10307


Zh_d.add "Zi",-10296


Zh_d.add "Zong",-10281


Zh_d.add "Zou",-10274


Zh_d.add "Zu",-10270


Zh_d.add "Zuan",-10262


Zh_d.add "Zui",-10260


Zh_d.add "Zun",-10256


Zh_d.add "Zuo",-10254

End If

Function Zh_g (Zh_num)
If zh_num>0 and zh_num<160 Then
ZH_G=CHR (Zh_num)
Else
If zh_num<-20319 Or zh_num>-10247 Then
Zh_g= ""
Else
Zh_a=zh_d.items
Zh_b=zh_d.keys
For zh_e=zh_d.count-1 to 0 step-1
If zh_a (zh_e) <=zh_num Then Exit for
Next
Zh_g=zh_b (Zh_e)
End If
End If
End Function

Function Chtoeng (ZH_STR)
Chtoeng= ""
Zh_str=replacestr (ZH_STR)
Zh_str = Errzhuan (ZH_STR)
For Zh_i=1 to Len (ZH_STR)
Chtoeng = Chtoeng & Zh_g (ASC (zh_str,zh_i,1))
Next
End Function

Function Errzhuan (Z_STR)
Z_str = Replace (z_str, "Chun", "Zhen")
Z_str = Replace (Z_str, "Dongguan", "Guan")
Z_str = Replace (Z_str, "heavy", "Chong")
Errzhuan = Z_str
End Function

Function Replacestr (M_STR)


If m_str&lt;&gt; "" Then


M_str=replace (M_STR, "!", "")


M_str=replace (M_STR, "!) ","")


M_str=replace (M_str, "@", "")


M_str=replace (M_str, "#", "")


M_str=replace (M_STR, "$", "")


M_str=replace (m_str, "%", "")


M_str=replace (m_str, "^", "")


M_str=replace (M_str, "&amp;", "")


M_str=replace (M_STR, "*", "")


M_str=replace (M_str, "(", "")


M_str=replace (M_str, ")", "" "


M_str=replace (M_str, "(", "")


M_str=replace (M_str, ")", "" "


M_str=replace (m_str, "=", "")


M_str=replace (m_str, "=", "")


M_str=replace (m_str, "+", "")


M_str=replace (M_str, ":", "")


M_str=replace (M_str, ":", "")


M_str=replace (M_str, ";", "")


M_str=replace (M_str, ";", "")


M_str=replace (m_str, "'", "")


M_str=replace (M_str, "" "", "")


M_str=replace (m_str, "'", "")


M_str=replace (m_str, "'", "")


M_str=replace (M_str, "" "," ")


M_str=replace (M_str, "" "," ")


M_str=replace (M_str, "", "")


M_str=replace (M_str, "the", "")


M_str=replace (m_str, "|", "")


M_str=replace (m_str, "§", "")


M_str=replace (M_str, "&lt;", "")


M_str=replace (M_str, "", "")


M_str=replace (m_str, "&gt;", "")


M_str=replace (M_str, "", "")


M_str=replace (M_str, ",", "")


M_str=replace (M_str, ",", "")


M_str=replace (M_str, ". ","")


M_str=replace (M_str, "?", "")


M_str=replace (M_str, "?) ","")


M_str=replace (M_STR, "/", "")


M_str=replace (M_str, ",", "")


Replacestr=m_str


Else


Replacestr= ""


End If


End Function

%>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.