Re: XML file upload issues for encoding="UTF-8"

On Thu, Sep 13, 2007, Frank Ellermann wrote:
> 
> Hi, I didn't read this list for about three months, so maybe this
> bug report isn't new:
> 
> When I try to validate an XML file with encoding="UTF-8" using the
> file upload interface I get an error for the first non-ASCII byte.
> 
> Apparently (= reported by the validator) my browser claims to send
> Content-Type: text/xml without charset.  Therefore the validator
> expects US-ASCII ignoring the first input line:

It doesn't just expect us-ascii. It *has* to process as us-ascii,
per http://tools.ietf.org/html/rfc3023#section-8.5
see also:
http://annevankesteren.nl/2005/03/text-xml

-- 
olivier

Received on Thursday, 13 September 2007 10:20:48 UTC