Jump to content

Validation Problems with ASCII Characters?


malibujamba

Recommended Posts

Validation Problems with ASCII CharactersOne of the requirements of XHTML-Strict validation is to code certain characters in ASCII syntax. Below is a list of characters and the ASCII equivalents that must be used to achieve proper validation.& = &< = <> = >...
I think I have a simmular problem. When I type the letter (e) with the character (') on it so like this: (é). I see a questionmark instead of the (é) in the browser, does someone has a selution for this?
Link to comment
Share on other sites

You can put this meta tag in the head of the document so that the characters show correctly:XHTML:<meta http-equiv="Content-Type" content="application/xml+xhtml;charset=iso-8859-1" />HTML:<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />

Link to comment
Share on other sites

Guest FirefoxRocks

You use entities to display accented and other different characters. For é, it is & eacute; (without the space)Also, the above meta tag for XHTML is wrong. It won't actually do anything and you should use the bottom one for both HTML and XHTML.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...