On Mon, Mar 23, 2015 at 1:45 PM, Simon Pieters <sim...@opera.com> wrote:

> On Sun, 22 Mar 2015 23:13:20 +0100, Hallvord Reiar Michaelsen Steen <
> hst...@mozilla.com> wrote:
>
>
>> Given a server which sends UTF-16 data with a UTF-16 BOM but does *not*
>> send "charset=UTF-16" in the Content-Type header - should the browser
>> detect the encoding, or just assume UTF-8 and return mojibake-ish data?
>>
>

> What is your test doing? From what I understand of the spec, the result is
> different between e.g. responseText (honors utf-16 BOM) and JSON response
> (always decodes as utf-8).
>
>
It tests responseText.

Reply via email to