[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
How_To_XML_Display_Foreign_Characters
If you save your XML documents containing foreign characters with Windows 95/98 Notepad, you must specify the encoding attribute in the XML declaration like this:
Windows 2000 Notepad can save text files with Unicode "UTF-8" or "UTF-16" encoding, so there is no need to include the encoding attribute even if you use foreign characters.
However, if you want to view the XML files in other browsers than Internet Explorer 5.0 or up, you must specify the correct encoding.
Some of the possible character encoding schemas are ?UTF-8, ?UTF-16, ?ISO-8859-1 or ?windows-1252.
XML FAQ
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
How_To_XML_Display_Foreign_Characters
How to display foreign characters in an XML document?
If no encoding is given, XML files are saved as ?Unicode "UTF-8" by default.If you save your XML documents containing foreign characters with Windows 95/98 Notepad, you must specify the encoding attribute in the XML declaration like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
Windows 2000 Notepad can save text files with Unicode "UTF-8" or "UTF-16" encoding, so there is no need to include the encoding attribute even if you use foreign characters.
However, if you want to view the XML files in other browsers than Internet Explorer 5.0 or up, you must specify the correct encoding.
Some of the possible character encoding schemas are ?UTF-8, ?UTF-16, ?ISO-8859-1 or ?windows-1252.
XML FAQ
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
