Re: [WSG] HTML Numeric and Named Entities

2006-01-11 Thread liorean
On 11/01/06, Lachlan Hunt [EMAIL PROTECTED] wrote: liorean wrote: Character references refer to Unicode code points independent of the document encoding and character set. At least for HTML4 and XML, if not for HTML3.2. As far as character references in HTML are concerned, they have

Re: [WSG] HTML Numeric and Named Entities

2006-01-11 Thread Lachlan Hunt
liorean wrote: On 11/01/06, Lachlan Hunt [EMAIL PROTECTED] wrote: As far as character references in HTML are concerned, they have always referred to the Unicode code points since HTML 2.0. Ah. I just saw BASESET ISO 646:1983//CHARSET International Reference

Re: [WSG] HTML Numeric and Named Entities

2006-01-10 Thread Juergen Auer
Hi Kat, On 11 Jan 2006 at 10:29, Kat wrote: I am aware that #151; is an incorrect character entity for the em dash, that the correct entity is #8212;. #151 is definitivly wrong or very, very old. http://www.sql-und-xml.de/unicode-database/latin-1-supplement.html lists it as 'END OF

Re: [WSG] HTML Numeric and Named Entities

2006-01-10 Thread liorean
On 11/01/06, Kat [EMAIL PROTECTED] wrote: Is it safe to use the named references that formerly refered to the control characters? Multi level answer here: - text/html: Should be perfectly safe. - application/xhtml+xml: Should be, but isn't, safe except for the five named entities of XML. Use

Re: [WSG] HTML Numeric and Named Entities

2006-01-10 Thread Lachlan Hunt
liorean wrote: On 11/01/06, Kat [EMAIL PROTECTED] wrote: Is it safe to use the named references that formerly refered to the control characters? Yes, it's safe to use the named entity references in HTML4, but it's easier to just use UTF-8 and type the actual characters instead. mdash; (or