Skip to content

Conversation

@robotlolita
Copy link

Since Testling didn't specify the charset, this led to a plethora of random encoding errors if the libraries used anything outside of the ASCII charset. The same code would work or not on browsers with the same capabilities depending on whether the browser decided to treat the page as UTF-8 or not.

Specifying the charset gets rid of all that and gives us predictable behaviours. Yay

Since Testling didn't specify the charset, this led to a plethora of random encoding errors if the libraries used anything outside of the ASCII charset. The same code would work or not on browsers with the same capabilities depending on whether the browser decided to treat the page as UTF-8 or not.

Specifying the charset gets rid of all that and gives us predictable behaviours. Yay
@ljharb
Copy link
Collaborator

ljharb commented May 4, 2013

+1, this will help!

@ljharb
Copy link
Collaborator

ljharb commented Jan 10, 2020

@robotlolita would you mind checking "allow edits" on the RHS of this PR?

@ljharb ljharb marked this pull request as draft September 19, 2022 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants