中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-08 14:57
47,811 topics / 349,895 posts / today 0 new / 48,253 members
DOS批处理 & 脚本技术(批处理室) » 【Unresolved】Chinese characters to Pinyin
Printable Version  1,798 / 11
Floor1 plp626 Posted 2008-05-08 21:19
银牌会员 Posts 1,020 Credits 2,278
Floor2 slore Posted 2008-05-08 21:42
铂金会员 Posts 2,478 Credits 5,212
It seems I just posted it, but it's gone now. Oh no~

Search for Chinese character encoding by yourself... Well

Below are the pinyins... If you want to sort by letters, just look at the first letter.

Floor3 plp626 Posted 2008-05-08 22:14
银牌会员 Posts 1,020 Credits 2,278
How did you get these?
Floor4 slore Posted 2008-05-08 22:19
铂金会员 Posts 2,478 Credits 5,212
Table...

Similar to a database... You just need to query it.
Floor5 bat-zw Posted 2008-05-08 22:27
金牌会员 Posts 1,276 Credits 3,105
First sweat... one, and said that he would no longer engage in physical labor.
Floor6 plp626 Posted 2008-05-09 12:47
银牌会员 Posts 1,020 Credits 2,278
The VBS code I found online can convert any Chinese characters to pinyin, (reproduced version)

How to make it automatically read a certain file and then automatically convert all the Chinese characters in it?
Floor7 slore Posted 2008-05-09 13:14
铂金会员 Posts 2,478 Credits 5,212
Have you seen any text reading without FSO? After reading and saving to str, directly call C(str)
Floor8 plp626 Posted 2008-05-09 15:12
银牌会员 Posts 1,020 Credits 2,278
The code in building 6 is too long. How to simplify it?
Floor9 slore Posted 2008-05-09 15:19
铂金会员 Posts 2,478 Credits 5,212
Can't... The table is like this... Because there's no pattern...

If you have to change...

Put pinyin and numbers in two arrays...
a=array("a","ai",...,"zuo")
b=array(-20319,-20317,...,-10254)

This way it's corresponding, then loop to call d.add a(i),b(i)

This looks simpler... It's better to just give the corresponding table directly...

If you think it's long, you can... shorten it like this...


d.add "zhuang",-10322:d.add "zhui",-10315 :d.add "zhun",-10309
d.add "zhuo",-10307 :d.add "zi",-10296 :d.add "zong",-10281
d.add "zou",-10274 :d.add "zu",-10270 :d.add "zuan",-10262
d.add "zui",-10260 :d.add "zun",-10256:d.add "zuo",-10254
Floor10 vkill Posted 2008-05-09 18:58
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
It's better to just copy it to Word and let Word do this thing.
Floor11 plp626 Posted 2008-05-09 20:47
银牌会员 Posts 1,020 Credits 2,278
Originally posted by vkill at 2008-5-9 06:58 PM:
It's better to directly copy it into Word and let Word do this thing.


Word has this ability? I haven't tried it and don't know.

***People like piracy, and when using pirated software, they still want it to be good and enjoyable to use!
But I feel that Microsoft's Word is simply very annoying (maybe the worst component in Office). If you don't use it, you can't find a better one. (WPS sometimes has typesetting errors) When using it, it's so slow to open that I almost want to smash the computer. The typesetting is not easy to use, and it smartly adds some automatic indentation and numbering functions, which makes people feel very annoyed, gzztmsb!

Is there any notepad that responds faster? Do you all agree?
Floor12 vkill Posted 2008-05-10 13:22
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
Originally posted by plp626 at 2008-5-9 20:47:


Word also has this ability, I haven't tried it and don't know how to

*** people like pirated software, they use pirated software but still want it to be good, they pirate it only if it works well!
But I feel that Microsoft's Word is really annoying (probably because of offic ...

We need to be good at making use of its strengths
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023