This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: dash
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] dash
- From: Mike Brown <mike at skew dot org>
- Date: Tue, 13 Mar 2001 22:20:19 -0700 (MST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Peter Flynn wrote:
> Be careful, Yue: 0150 is an en-dash or en-rule
No it isn't! At least not in the coded character set shared by Unicode and
ISO/IEC 10646. This is what an XML or HTML numeric character reference like
– references, by definition. – always means the non-printing
control character with the legacy name START OF GUARDED AREA.
Character number 150 is only the EN DASH character in Windows 8-bit
codepages, which are irrelevant when you write a numeric character
reference. See http://www.eki.ee/letter/chardata.cgi?ucode=2013 as well as
the relevant specs. Numeric character references never refer to Windows
codepages, even though browsers may erroneously exhibit such behavior.
You were right to point out – and — though.
- Mike
____________________________________________________________________
Mike J. Brown, software engineer at My XML/XSL resources:
webb.net in Denver, Colorado, USA http://skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list