![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: UTF-8 & Unicode [Thread Next] Re: UTF-8 & UnicodeTo: NULL Date: 2/2/2005 6:11:00 PM On Wed, 2 Feb 2005, Richard Tobin wrote: > In most circumstances UTF-8 is the default encoding for XML if there > is no encoding declaration. It's a bit more complicated than that. http://www.w3.org/TR/2000/REC-xml-20001006#charencoding The /default/ is to look for a BOM - failing which, utf-8 is assumed. On the other hand, it seems you've caught me out with the next bit: > In theory for text/* served by HTTP, > 8859-1 is (or was - they may have changed it) the default. HTTP hasn't changed. RFC2616 section 3.7.1, last paragraph. Thanks! So I suppose /that/ was the explanation for the W3C validator not failing the cited page from w3schools. Thanks. > But if you stick to ascii, it won't matter. True - although that's hardly a very efficient way to write, say, Cyrillic, or Arabic, or Japanese. | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
