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: Fri, 26 Oct 2001 14:06:16 +0200
To: MURATA Makoto <EB2M-MRT@asahi-net.or.jp>
Cc: "Christian Wolfgang Hujer" <Christian.Hujer@itcqis.com>, www-style@w3.org
Message-ID: <3akitt4i6b6nhlj6uv9em0d9m5p1fvkdk3@4ax.com>
* MURATA Makoto wrote:
>Christian Wolfgang Hujer wrote:
>> 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).
>No, UTF-16 XML documents do not require encoding declarations.  The BOM 
>is good enough.  See XML 1.0.


  % http-head http://www.asahi-net.or.jp/~eb2m-mrt/jisho.xml
  HTTP/1.1 200 OK
  Date: Fri, 26 Oct 2001 12:04:38 GMT
  Server: Apache/1.3.20 (Unix)
  Last-Modified: Thu, 25 Oct 2001 17:10:05 GMT
  ETag: "20fa-1a2-3bd8476d"
  Accept-Ranges: bytes
  Content-Length: 418
  Connection: close
  Content-Type: text/xml

Since the document is said to be text/xml without charset parameter,
conforming processors issue a fatal error for your test case, since they
must assume us-ascii as character encoding and the BOM is not
expressable in us-ascii.
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 Friday, 26 October 2001 08:07:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:59 UTC