How to convert between Simplified Chinese and Traditional Chinese characters in text files on Linux?

How to convert between Simplified Chinese and Traditional Chinese characters in text files on Linux from command line?

asked Jan 11, 2015 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

You can use opencc to convert between Traditional Chinese and Simplified Chinese: https://github.com/BYVoid/OpenCC

For example, to transfer a file in simplified Chinese sc.txt to traditional Chinese:

opencc -i sc.txt -o tc.txt -c zhs2zht.ini

The authors also provide an online tool for converting: http://opencc.byvoid.com/

answered Jan 19, 2015 by Vivian (950 points)
selected Jan 19, 2015 by Eric Z Ma

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...