Problem description:
Chinese characters are garbled and incompatible. English is fully compatible with big5, GBK, and utf8!
The big5-encoded traditional Chinese characters cannot be displayed in the simplified win7 system. If you want to display them, you must install the traditional Chinese Language Pack.
Solution:
1. *. the Java source code is converted to the utf8 format, so that it can be used on the Windows 7 (traditional/Simplified) platform. The XML file is originally UTF-8 encoded without BOM format and supports simplified Chinese characters.
2. You can set different workspace directories to mark projects with different codes, such as GBK/utf8.
Other problems:
What is the default encoding format in Linux? What is the Chinese/English encoding format supported on Windows/Linux?
--- View my blog posts!
Supplement:
If the encoding format is supported in Notepad ++, you can use Notepad ++ for transcoding or a transcoding tool. However, if you do not know the encoding format of the source file, but it is garbled on the target system, so this time it is very difficult to do!
Must be: known file encoding format ---> recognizable transcoding format to the Local Machine
Notepad ++ Transcoding:
Related reading:
Eclipse sets soft tab (replaced by four spaces) and defaultUTF-8 file encoding (UNIX)
Http://hi.baidu.com/loyaltyji/item/61473f8b4a5baec799255f58
Differences between ANSI, utf8, Unicode, and ASCII Encoding
Http://hi.baidu.com/christworld/item/f0012cdad702083ce3108f24