W3C home > Mailing lists > Public > www-style@w3.org > October 2001

Re: IE 6.0 cannot handle Japanese yet

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 25 Oct 2001 23:06:29 +0200
To: "Christian Wolfgang Hujer" <Christian.Hujer@itcqis.com>
Cc: "MURATA Makoto" <EB2M-MRT@asahi-net.or.jp>, <www-style@w3.org>
Message-ID: <smugtt4vmfjei8k1kn8lcodk77hslpngqj@4ax.com>
* Christian Wolfgang Hujer wrote:
>that's wrong.
>
>The document of the URL specified is not UTF-8 but probably UTF-16 encoded.
>You have to state any non-UTF-8-Encoding in the XML-Declaration. The
>xml-declaration of your document is wrong, it has to be <?xml version="1.0"
>encoding="utf-16"?>. So the document is no XML document (it is not
>well-formed).

Only in absence of higher-level protocol information, you have to
declare the character encoding in the XML declaration if else than
UTF-8 or UTF-16, UTF-16 encoded documents require a byte order mark
but no encoding declaration. Murata-san knows quite well about these
rules.

>I have tested it, IE 5.5 seems to display it correctly (but it shouldn't),
>but Opera 5.12 and Mozilla 0.9.3 failed to display the document. Opera 5.12
>tried best in displaying [] (unknown char boxes), Mozilla complained about
>the not well-formed document.

Mozilla complains about the byte order mark as invalid character, Opera
and IE deal just fine with the document, as they should.

>So the CSS document is currently of no interest because the document
>referencing it is no xml-document, so the xml processing-instruction may not
>be interpreted anyway.

I guess you refer to the xml-stylesheet processing instruction, the xml
declaration is no processing instruction, even if it looks like one.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Thursday, 25 October 2001 17:07:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT