Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: UTF-8 & Unicode

From: "EU citizen" <noaddress@-----.--->
To: NULL
Date: 2/2/2005 9:22:00 AM
"Lachlan Hunt" <spam.my.gspot@g...> wrote in message
news:42006275$0$6415$5a62ac22@p......
> EU citizen wrote:
> > Do web pages have to be created in unicode in order to use UTF-8
encoding?
>
> That's kind of a silly question because UTF-8 is a unicode encoding.
> See my 3 part guide to unicode for an in-depth tutorial on creating
> unicode files.
>
> http://lachy.id.au/blogs/log/2004/12/guide-to-unicode-part-1
> http://lachy.id.au/blogs/log/2004/12/guide-to-unicode-part-2
> http://lachy.id.au/blogs/log/2005/01/guide-to-unicode-part-3
>

I wish people would give simple answers to simple questions.
This is not a silly question; See
http://www.w3schools.com/xml/xml_encoding.asp on XML Encoding. Slightly
edited, this says:

XML documents can contain foreign characters like Norwegian æøå, or French
êèé.
To let your XML parser understand these characters, you should save your XML
documents as Unicode.
Windows 95/98 Notepad cannot save files in Unicode format.
You can use Notepad to edit and save XML documents that contain foreign
characters (like Norwegian or French æøå and êèé),
But if you save the file and open it with IE 5.0, you will get an ERROR
MESSAGE.

Windows 95/98 Notepad files must be saved with an encoding attribute.
To avoid this error you can add an encoding attribute to your XML
declaration, but you cannot use Unicode.
The encoding below (open it with IE 5.0), will NOT give an error message:
<?xml version="1.0" encoding="UTF-8"?>




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent