ghbondar / webDevClass-Hub

a repository to help introduce and orient students to the GitHub collaboration environment, and to support the web development classes at Pitt-Greensburg
GNU Affero General Public License v3.0
3 stars 0 forks source link

HTML Validation Error: Windows-1252 #18

Open chrisc6 opened 6 years ago

chrisc6 commented 6 years ago

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 commented 6 years ago

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

PeterMortensen commented 2 years ago

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.