to escape or not to escape: well formed XHTML with diacritics
- by andresmh
Say that you have a XHTML document in English but it has accented characters (e.g. meta name="author" content="José"). Let's say you have no control over the HTTP headers.
Should the characters be replaced for their corresponding named entities (e.g. á, etc)?
Should the doc type and the xml:lang attribute be set to English?
I know…