A function that transforms Chinese characters into pinyin

xiaoxiao2021-03-06  49

A function that transforms Chinese characters into pinyin

Many problems are because the file names caused by Chinese issues are best not to use Chinese now solving, which is generally generated, making this ID, filename. Now use this transformation, there is a lot of principles: use multi-dimensional arrays 1. Add index 2. Traverse the array

, -19235), Array ("CUN", - 19224), Array ("DA", - 19218), Array ("DAI", - 19212), Array ("DAN" , -19038), Array ("DAO", - 19018), Array ("DE", - 19006), Array ("deng", - 19003), Array ("Di" , -18996), Array ("DIAO", - 18961), Array ("Die", - 18952), Array ("DIU", - 18783), Array ("Diu" , -18774), Array ("DOU", - 18763), Array ("DU", - 18756), Array ("Duan", - 18741), Array ("dui" , -18735), Array ("DUO", - 18722), Array ("E", - 18710), Array ("En", - 18697), Array ("ER" , -18696), Array ("Fan", - 18518), Array ("Fang", - 18501), Array ("Fei", - 18490), Array ("FEN" , -18478), Array ("FO", - 18448), Array ("FOU", - 18447), Array ("fu", - 18446), Array ("GA" , -18239), Array ("GAI", - 18231), Array ("Gang", - 18220), Array ("GAO", - 18211), Array ("GE" , -18201), Array ("GEI", - 18183), Array ("GENG", - 18181), Array ("GONG", - 18012), Array ("gou" , -17997), Array ("GUA", - 17970), Array ("Guai", - 17964), Array ("GUAN", - 17961), Array ("Guang", - 17950), Array ("GUI", - 17947), Array ("Guo", - 17928), Array ("Ha", - 17922), Array ("Hai", - 17759), Array ("Han", - 17752), Array ("HANG", - 17733), Array ("hao"

, -17730), Array ("HEI", - 17703), Array ("HEN", - 17701), Array ("heng", - 17697), array ("hong" Array ("Hu", - 17496), array ("huai", - 17487), array ("huai", - 17487), array ("huai", - 17487), array ("huan", - 17487) , -17482), Array ("Hui", - 17454), Array ("Hun", - 17433), Array ("Huo", - 17427), Array ("ji" , -17417), Array ("Jian", - 17185), Array ("JIANG", - 16983), Array ("JIAO", - 16970), Array ("jie" , -16942), Array ("JING", - 16733), Array ("Jiong", - 16708), Array ("JIU", - 16706), Array ("JU" , -16689), Array ("JUE", - 16657), Array ("Jun", - 16647), Array ("KA", - 16474), Array ("kai" , -16470), Array ("KANG", - 16459), Array ("Kao", - 16452), Array ("KE", - 16448), Array ("ken" , -16433), Array ("KENG", - 16427), Array ("KOU", - 16423), Array ("KU", - 16419), Array ("KUA" , -16412), Array ("Kuan", - 16403), Array ("Kuang", - 16401), Array ("Kui", - 16393), Array ("" Kun, - 16220), Array ("La", - 16212), Array ("LAI", - 16205), Array ("LAN", - 16202), array (" ", - 16187), Array (" LAO ", - 16180), Array (" Lei ", - 16169), Array (" Leng ", - 16158), array (" Series ("Lian", - 15958, ARRAY ("" ", - 15958,

", - 15944), Array (" LIAO ", - 15933), Array (" LIE ", - 15920), Array (" LIN ", - 15915), ARRAY (" LING ", - 15903), ARRAY (" Series ("LOU", - 15707), Array ("Lou", - 15707), Array ("Lou", - 15707), Array ("LV", - 15681), ARRAY (" Luan, - 15667), Array ("LUN", - 15659), Array ("Luo", - 15652), Array ("MA", - 15640), array (" Array ("MAN", - 15454), Array ("MAO", - 15448), ARRAY ("MAO", - 15448), ARRAY ("ME", - 15436), ARRAY ("" ARRAY ("MENG", - 15416), Array ("MENG", - 15416), Array ("MI", - 15408), Array ("Mian", - 15394), Array (" ARRAY ("MIN", - 15369), Array ("MIN", - 15369), Array ("MIN", - 15369), ARRAY ("MIU", - 15369), ARRAY ("" Mo ", - 15362), Array (" Mou ", - 15183), Array (" NA ", - 15165), Array (" Nai ", - 15158), array (" Nan ", - 15153), Array (" NAO ", - 15149), Array (" NE ", - 15144), Array (" Nei ", - 15143), Array (" NEN ", - 15141), Array (" NIENG ", - 15140), Array (" NiAN ", - 15128), Array (" Niang ", - 15121), array (" NIAO ", -15119), Array (" NIE ", - 15117), Array (" NING ", - 15109), Array (" NIU ", - 14941), Array (" NONG ", -14937), Array (" NU ", - 14930), Array (" Nuan ", - 14929), Array (" Nue ", - 14928, Array (" Nuo ", -14926), Array (" O ", - 14922), Array (" OU ", - 14921), Array ("

Array ("PAO", - 14894), Array ("PAO", - 14894), Array ("PAO", - 14894), ARRAY ("PAO", - 14889), ARRAY (" Pei ", - 14882), Array (" PENG ", - 14871), Array (" Pi ", - 14857), Array (" Pian ", - 14678), Array (" Piao, - 14674), Array ("PIE", - 14670), Array ("PIN", - 14668), Array ("PING", - 14663), Array ("Po", - 14654), Array (" PU ", - 14645), Array (" QIA ", - 14594), Array (" Qian ", - 14429), Array (" Qiang ", - 14407), Array (" "QIE", - 14384), Array ("QING", - 14379), Array ("QING", - 14368), Array ("Qiong", - 14355), Array (" Qiu, - 14353), Array ("Quan", - 14170), Array ("QUE", - 14159), Array ("Qun", - 14151), array (" "RAN", - 14149), Array ("Rao", - 14140), Array ("RE", - 14137), Array ("REN", - 14135), array (" RENG, - 14125, Array ("RI", - 14123), Array ("ROU", - 14112), Array ("RU", - 14109), Array (" Ruan, - 14099), Array ("RUI", - 14097), Array ("Ruo", - 14092), Array ("SA", - 14090), array (" Sai ", -14087), Array (" SANG ", - 13917), Array (" SAO ", - 13914), Array (" SE ", - 13910), Array (" Sen ", -13907), Array (" SHA ", - 13905), Array (" Shai ", - 13896), Array (" SHAN ", - 13894, Array (" SHANG ", -13878), array (" shao ", - 13870), array (" she "

, -13859), Array ("SHENG", - 13831), Array ("Shi", - 13658), Array ("shou", - 13611), array ("shu" , -13601), Array ("Shuai", - 13404), Array ("SHUAN", - 13400), Array ("Shuang", - 13398), Array ("SHUI" , -13395), Array ("SHUO", - 13387), Array ("Si", - 13383), Array ("SONG", - 13367), Array ("Sou" , -13359), Array ("SUAN", - 13343), Array ("Sui", - 13340), Array ("Sun", - 13329), Array ("SUO" , -13326), Array ("TAI", - 13147), Array ("TAN", - 13138), Array ("TANG", - 13120), Array ("tao" , -13107), Array ("TENG", - 13095), Array ("Ti", - 13091), Array ("TIAN", - 13076), Array ("TIAO" , -13068), Array ("Ting", - 13060), Array ("Tong", - 12888), Array ("Tou", - 12875), Array ("TU" , -12871), Array ("TUI", - 12858), Array ("TUN", - 12852), Array ("Tuo", - 12849), Array ("WA" , -12838), Array ("Wan", - 12829), Array ("WANG", - 12812), Array ("WEI", - 12802), ARR AY ("Wen", - 12607), Array ("Wo", - 12594), Array ("WU", - 12585), Array ("Xi", - 12556), Array ("XIA", - 12359), Array ("Xiang", - 12320), Array ("XIAO", - 12300), Array ("XIE", - 12120), Array ("xin", - 12099, array ("xing", - 12089), array ("Xiong"

, -12074), Array ("Xu", - 12058), Array ("Xuan", - 12039), Array ("XUE", - 11867), Array ("xun" , -11861), Array ("YAN", - 11831), Array ("YANG", - 11798), Array ("YAO", - 11781), Array ("ye" , -11604), Array ("YIN", - 11536), Array ("YING", - 11358), Array ("Yo", - 11340), Array ("yong" , -11339), Array ("YOU", - 11303), Array ("YUAN", - 11097), Array ("YUE", - 11077), Array ("Yun" , -11067), Array ("ZAI", - 11052), Array ("ZAN", - 11045), Array ("Zang", - 11041), Array ("ZAO" , -11038), Array ("Zei", - 11020), Array ("ZEN", - 11019), Array ("ZENG", - 11018), Array ("ZHA" , -11014), Array ("ZHAN", - 10832), Array ("ZHANG", - 10815), Array ("ZHAO", - 10800), Array ("zhe" , -10790), Array ("ZHENG", - 10764), Array ("ZHI", - 10587), Array ("ZHONG", - 10544), Array ("zhou" , -10533), Array ("ZHUA", - 10331), Array ("Zhuai", - 10329), Array ("ZHUAN", - 10328), Array ( "Zhuang", - 10322), Array ("Zhun", - 10309), Array ("ZHUO", - 10307), Array ("Zi", - 10296), Array ( "ZONG", - 10281), Array ("Zou", - 10270), Array ("Zuan", - 10262), Array ("ZUI", - 10260), Array ( "Zun", - 10256), Array ("Zuo", - 10254); Function G ($ Num) {Global $ D;

转载请注明原文地址:https://www.9cbs.com/read-109941.html

New Post(0)