Re: XHR LC comments

Julian Reschke wrote:
> 
> Anne van Kesteren wrote:
>  > ...
>>  From what I recall at least Firefox does it that way in practice. 
>> Currently it does not give any indication what kind of character 
>> encoding needs to be used so we picked the most obvious one.
>> ...
> 
> I just tried, and as far I can tell, it uses ISO-8859-1.

More tests reveal that IE, Firefox and Safari use ISO-8859-1, while 
Opera uses UTF-8. From my reading of RFC2617 and RFC2616, using 
ISO-8859-1 actually is correct (like it or not).

BR, Julian

PS: the test code is a Java class running in the Java6 light http 
server; should I post it here?

Received on Tuesday, 27 May 2008 15:36:54 UTC