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

HTML Validation Error: Windows-1252 #18

Open
chrisc6 opened this issue Nov 12, 2018 · 2 comments
Open

HTML Validation Error: Windows-1252 #18

chrisc6 opened this issue Nov 12, 2018 · 2 comments
Labels

Comments

@chrisc6
Copy link
Collaborator

chrisc6 commented Nov 12, 2018

Error: The character encoding was not declared. Proceeding using windows-1252.

This is the error I get when I am checking my resume html. I am not sure what it means.

@ghbondar
Copy link
Owner

ghbondar commented Nov 13, 2018

The solution is to replace charset=windows-1252 with charset=UTF-8
in a <meta> element in your HTML-file's <head> element.

@ghbondar ghbondar added the HINT! label Nov 13, 2018
@ghbondar ghbondar changed the title Issue with validation on HTML HTML Validation Error: Windows-1252 Nov 13, 2018
@PeterMortensen
Copy link

The solution is to replace charset=windows-1252 with charset=UTF-8 in a <meta> element in your HTML-file's <head> element.

Even if it is specified, there will be the exact same error message if it is too far into the HTML document (about 1024 bytes). For example, too much white space in the beginning and/or an HTML comment in the beginning that is too long. Ask me how I know. See also this.

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

No branches or pull requests

3 participants