Print service provided by iDogiCat: http://www.idogicat.com/
home logo





Home > IT > Internationalization

Internationalization

Conversion

Convert from native encoding to ASCII:


native2ascii -encoding EUC-JP src_file dest_file

The '-encoding' option specifies the encoding that the source file uses.

Result:

src_file:

日本語

dest_file:

\u65e5\u672c\u8a9e

Convert from ASCII format to native encoding:


native2ascii -reverse -encoding EUC-JP src_file dest_file

The '-encoding' option specifies the encoding that the dest file is to use.

Result:

src_file:

\u65e5\u672c\u8a9e

dest_file:

日本語