![]() |
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-10 14:57 |
47,811 topics / 349,897 posts / today 0 new / 48,255 members |
| DOS批处理 & 脚本技术(批处理室) » [Discussion] Simplified-Traditional Character Conversion |
| Printable Version 1,913 / 10 |
| Floor1 HUNRYBECKY | Posted 2006-12-14 23:31 |
| 银牌会员 Posts 442 Credits 1,179 | |
|
Due to work needs, I often need to convert traditional Chinese characters to simplified Chinese characters or vice versa. My usual practice is to use the traditional-simplified conversion in WORD, but it is cumbersome and time-consuming. If the computer does not have WORD installed, there is nothing I can do. I hope everyone can discuss whether batch processing or scripts can be used to achieve this function. The requirements are:
1. Can achieve multi-encoding conversion between traditional and simplified. 2. Can achieve batch conversion. 3. The converted language is not garbled when opened in Notepad, that is, if the converted traditional Chinese file is opened in Notepad on a simplified Chinese system, it will not be garbled and can display traditional Chinese correctly, and vice versa. |
|
| Floor2 ccwan | Posted 2006-12-14 23:33 |
| 金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊 | |
|
You need a font library. The project is not small.
|
|
| Floor3 HUNRYBECKY | Posted 2006-12-14 23:44 |
| 银牌会员 Posts 442 Credits 1,179 | |
Originally posted by ccwan at 2006-12-14 23:33: Generally, the font library is installed by default during system installation. If it is not installed, a prompt to install will appear when the language is different when visiting a website. So this is no longer considered. I converted the traditional Chinese file to simplified Chinese in the traditional Chinese Notepad and then opened the simplified Chinese file with the traditional Chinese system's Notepad, which can be displayed correctly. If opened directly, it will not work. The website of CN-DOS also has two versions in traditional Chinese and simplified Chinese. I don't know whether this is designed with multiple pages or directly implemented with code for conversion. The www.ACCESS911.NET website is written in VB language, which directly uses code table conversion to realize automatic traditional-simplified conversion. |
|
| Floor4 zh159 | Posted 2006-12-14 23:46 |
| 金牌会员 Posts 1,467 Credits 3,687 | |
|
In batch processing, using a coding table (not a font library) is needed, and obtaining this coding table is a problem.
|
|
| Floor5 redtek | Posted 2006-12-14 23:55 |
| 金牌会员 Posts 1,147 Credits 2,902 | |
|
Download the conversion tool on the 7th floor of the following post.
Help! About the problem of code conversion http://www.cn-dos.net/forum/viewthread.php?tid=24680&fpage=1&highlight=%E7%B9%81%E4%BD%93 |
|
| Floor6 HUNRYBECKY | Posted 2006-12-15 02:12 |
| 银牌会员 Posts 442 Credits 1,179 | |
|
Using tools is good, can it be directly achieved with batch processing or VBS?
|
|
| Floor7 lh82102849 | Posted 2006-12-15 03:04 |
| 初级用户 Posts 11 Credits 24 | |
|
Wait for experts to answer the question
|
|
| Floor8 HUNRYBECKY | Posted 2006-12-16 22:59 |
| 银牌会员 Posts 442 Credits 1,179 | |
|
Thanks, redtek brother. But I can't convert simplified Chinese characters to traditional Chinese characters or vice versa with any of the tools I used. Still, I hope you can give me some pointers.
|
|
| Floor9 redtek | Posted 2006-12-16 23:34 |
| 金牌会员 Posts 1,147 Credits 2,902 | |
|
Just found some content on Google.com that might be useful for programming or code:
Simplified Chinese to Traditional Chinese function http://www.cfcodes.com/?ID=593 Simple and practical code for mutual conversion between Traditional and Simplified Chinese http://www.excelfans.cn/Blog/article.asp?id=31 ASP Simplified to Traditional Chinese http://www.tsingfeng.com/article.asp?id=291 Chinese Simplified and Traditional Character Conversion http://www.zayh.cn/tool/ Online Chinese Simplified and Traditional Character Conversion http://www.ee-studio.com/tools/sim_tra.html Also: The above links already contain character conversion library information. With these information, it should not be difficult to program, and you can refer to the codes in the above links. [ Last edited by redtek on 2006-12-16 at 10:35 AM ] |
|
| Floor10 HUNRYBECKY | Posted 2006-12-17 04:01 |
| 银牌会员 Posts 442 Credits 1,179 | |
Originally posted by redtek at 2006-12-16 23:34: |
|
| Floor11 tao0610 | Posted 2006-12-17 04:04 |
| 高级用户 Posts 218 Credits 579 | |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |