[thelist] XHTML & Character entities

Alan Wood alan.wood at context.co.uk
Wed Oct 9 03:27:01 CDT 2002


Rob Schuman wrote:

> This is quick... and sorry if I'm just being dense when it comes to
> understanding the guide to "XML well formedness" at W3C, but I cannot make
> head or tail of it...
>
> Could anyone shed light on why the use of
>
> “ and ” for left and right double quotes produces the error in
> HTML validation, that error being "reference to a non-SGML character"?
>
Rob

147 and 148 are reserved for control codes in Unicode and in ISO-8859-1.

You need to use 8220 and 8221 instead.

Alan Wood
http://www.alanwood.net (Unicode, special characters, pesticide names)




More information about the thelist mailing list