w*****s 发帖数: 122 | 1 Can I use GB2312?
Maybe. A conforming XML processor must support UTF-8 and UTF-16 (Unicode). But XML can be encoded using almost
any character set. It is the parser-writer's decision which encodings to support.
Outside the XML processor, the document is encoded in GB2312 (e.g. the EUC encoding of GB2312 and ASCII, also
called cn-euc);
Inside the XML system, the document is encoded as ISO10646. (ISO10646 is the character set that Java uses. It is
the same character set as Unicode. |
|