Thursday 15 December 2011

Convert Chinese Character to UTF-8

1. Create a source file "c:\source.txt", put the Chinese characters inside, and save it in "UTF-8" format.

2. Open the command prompt:

c:\>native2ascii -encoding utf8 c:\source.txt c:\output.txt

You can get the UTF-8 output in the c:\output.txt


No comments:

Post a Comment