Re: [xsl] dash

Subject: Re: [xsl] dash
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 14 Mar 2001 17:59:51 GMT
> And this is not a question, when I view the &#x2013; with Netscape on Solaris,
> I can not see the correct dash but a question mark if I set character set as
> UTF-8.

Netscape needs the decimal version &#8211; (a deficiency in netscape)

> Both &#150; and &#8211; just work fine for character set ISO-8859-1
> And I'm just wondering how many people really use UTF-8 for their browser.....
> :-)

that's a bug in whatever system you are using. in HTML 4 and in XML the 
&#...; notation _always_ refers to the unicode number. The encoding of
the document is immaterial: that's the whole point, you can use &# to
access characters that are _not_ in the character encoding of the
document.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread