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

Explicitly specify character encoding in html files #7

Merged
merged 1 commit into from
Dec 28, 2020

Conversation

indy
Copy link
Contributor

@indy indy commented Dec 28, 2020

Running the examples in Firefox produces the following console error:

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.

The fix is to either send the encoding information from the server or to include it in the html files. I think adding it to the html files is simpler.

@richardanaya
Copy link
Owner

Thanks! Annoying little messages like these are always nice to clean up.

@richardanaya richardanaya merged commit c7bb312 into richardanaya:master Dec 28, 2020
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