![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: UTF-8 & Unicode >Thread Next - Re: UTF-8 & Unicode Re: UTF-8 & UnicodeTo: 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"?> | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
