Tip Character Encoding in XML

When you type an XML document into Notepad and save it, you can choose from one of several supported character encodings, including ANSI, Unicode (UTF-16), Unicode (Big Endian), or UTF-8. The encoding declaration in the XML document identifies which encoding is used to represent the characters in the document. UTF-8 encoding allows the use of non-ASCII characters, regardless of the language of the user's operating system and browser or the language version of Office. When you use UTF-8 or UTF-16 character encoding, an encoding declaration is optional. XML parsers can determine automatically if a document uses UTF-8 or UTF-16 Unicode encoding.

0 0

Post a comment