- Create file in notepad, save some Vietnamese to the file (using utf-8 charset)
- Using this command to get the code: native2ascii -encoding utf-8 in.txt out.txt
in.txt is the input file
out.txt is output file
Input:
-------
Nghiêm Hải Bằng
Việt Nam
Hà Nội
Thành Phố Hồ Chí Minh
Output:
-------
Nghi\u00eam H\u1ea3i B\u1eb1ng
Vi\u1ec7t Nam
H\u00e0 N\u1ed9i
Th\u00e0nh Ph\u1ed1 H\u1ed3 Ch\u00ed Minh
Không có nhận xét nào:
Đăng nhận xét