Are you blogging on PH? Get your free blog.
*/

Other Views

corner
*/

How to Display Foreign Characters in an XML Document

How to display foreign characters in an XML document?[/b]

When saving XML documents containing foreign characters with Windows 95/98 Notepad. An XML declaration that specifies the encoding attribute must be set.

The following is for use with non-Latin based characters:

<?xml version="1.0" encoding="ISO-8859-1"?>


Windows 2000 Notepad files are saved as Unicode "UTF-16" encoding by default. Therefore, there is no need to include the encoding attribute even if foreign characters are in use. However, if you want to view XML files in browsers other than Internet Explorer 5.0 or higher, you must specify the correct encoding.

Back to XML FAQ
corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.
Resource Listings