Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add XMLHttpRequest test with UTF-16-encoded response w/BOM #1586

Closed
hallvors opened this issue Jan 26, 2015 · 2 comments
Closed

Add XMLHttpRequest test with UTF-16-encoded response w/BOM #1586

hallvors opened this issue Jan 26, 2015 · 2 comments

Comments

@hallvors
Copy link
Contributor

There's no test that sends back an UTF-16 response with a BOM.

@hallvors hallvors changed the title Add test with UTF-16-encoded response w/BOM Add XMLHttpRequest test with UTF-16-encoded response w/BOM Jan 26, 2015
@hallvors
Copy link
Contributor Author

So, the question - for @annevk and others - is whether a response which is UTF-16 encoded with a UtF-16 BOM should be content-sniffed and decoded as UTF-16 (Chrome does this) or not (Gecko).

@annevk
Copy link
Member

annevk commented Mar 25, 2015

Well the BOM is authoritative. It should not be "sniffed".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants