I am coding a site in Spanish and need to use the actual characters “ó” or “é”, for example, rather than using the character codes (ó or é). I’m quite sure I’ve followed the HTML5 spec “to a T” but firefox and safari are still replacing the characters with an —
Here’s the relevant tags I’m using in the head:
<html lang="es">
<meta charset=ISO-8859-1>
I get the following error/warning from the W3c Validator:
Using windows-1252 instead of the declared encoding iso-8859-1.
<meta charset=ISO-8859-1>
I also have firefox set to spanish as the primary language.
How do I get spanish accented characters to display with HTML5?
As deceze commented above, this has nothing to do with HTML5, and should be done in UTF-8.
I use Panic Coda to code, and I needed to convert the document to UTF-8. Problem Solved! Text>Encoding>UTF-8