- From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
- Date: Fri, 26 Oct 2001 14:41:56 +0200
- To: "Bjoern Hoehrmann" <derhoermi@gmx.net>, "MURATA Makoto" <EB2M-MRT@asahi-net.or.jp>
- Cc: <www-style@w3.org>
Hello Bjoern, Mr. MURATA Makoto, > -----Original Message----- > From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net] > Sent: Friday, October 26, 2001 2:06 PM > To: MURATA Makoto > Cc: Christian Wolfgang Hujer; www-style@w3.org > Subject: Re: IE 6.0 cannot handle Japanese yet > > > * 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. > > However, > > % 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. That's interesting. I didn't read specs about that so deeply. Is a Content-Type: text/xml without charset parameter really assumed to be US-ASCII or is it assumed to be UTF-8? Where can I read about that, HTTP/1.1 Specs, MIME Specs or XML Rec? Greetings Christian
Received on Friday, 26 October 2001 08:52:06 UTC