China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 06:55
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Discussion] Simplified-Traditional Character Conversion View 1,853 Replies 10
Original Poster Posted 2006-12-14 23:31 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,179
Posts 442
Joined 2006-09-09 22:47
19-year member
UID 62249
Status Offline
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.
Floor 2 Posted 2006-12-14 23:33 ·  中国 河北 廊坊 三河市 移动
金牌会员
★★★★
Credits 2,725
Posts 1,160
Joined 2006-09-23 12:00
19-year member
UID 63486
From 河北廊坊
Status Offline
You need a font library. The project is not small.
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。
Floor 3 Posted 2006-12-14 23:44 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,179
Posts 442
Joined 2006-09-09 22:47
19-year member
UID 62249
Status Offline
Originally posted by ccwan at 2006-12-14 23:33:
You need a font library. The project is not small.


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.
Floor 4 Posted 2006-12-14 23:46 ·  中国 广西 玉林 博白县 电信
金牌会员
★★★★
Credits 3,687
Posts 1,467
Joined 2005-08-08 12:00
20-year member
UID 44210
Status Offline
In batch processing, using a coding table (not a font library) is needed, and obtaining this coding table is a problem.
Floor 5 Posted 2006-12-14 23:55 ·  中国 北京 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
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
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Floor 6 Posted 2006-12-15 02:12 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,179
Posts 442
Joined 2006-09-09 22:47
19-year member
UID 62249
Status Offline
Using tools is good, can it be directly achieved with batch processing or VBS?
Floor 7 Posted 2006-12-15 03:04 ·  中国 湖北 武汉 电信
初级用户
Credits 24
Posts 11
Joined 2006-09-30 09:07
19-year member
UID 64133
Status Offline
Wait for experts to answer the question
Floor 8 Posted 2006-12-16 22:59 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,179
Posts 442
Joined 2006-09-09 22:47
19-year member
UID 62249
Status Offline
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.
Floor 9 Posted 2006-12-16 23:34 ·  中国 北京 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
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 ]
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Floor 10 Posted 2006-12-17 04:01 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,179
Posts 442
Joined 2006-09-09 22:47
19-year member
UID 62249
Status Offline
Originally posted by redtek at 2006-12-16 23:34:
What I just found on Google.com might be some content that can be used in programming or code:




I am very grateful to brother redtek for all that you have done for me. You have worked so hard. I have read all that you sent, and I have benefited a great deal.

At the same time, I also spent the whole morning and finally found a tool that can realize the mutual conversion between traditional Chinese and simplified Chinese in both graphical mode and DOS mode. Moreover, this software supports customizing word libraries and code tables for conversion, and the speed is quite fast. It is very excellent, so I specially recommend it to everyone.

However, this software only has a 30-day usage period (in graphical mode), but there is no such restriction in command mode. So those who use batch processing programming have good news. Hurry up and download it.

Download address:
http://www.wbj3000.com/CodeTrans.html
Floor 11 Posted 2006-12-17 04:04 ·  中国 北京 朝阳区 联通
高级用户
★★
朦胧的世界
Credits 579
Posts 218
Joined 2006-10-24 04:29
19-year member
UID 67972
Status Offline

认识自己,降伏自己,改变自己
,才能改变别人!
Forum Jump: