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?

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 by Vivian.
Leave a Reply

Your email address will not be published. Required fields are marked *