This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dash


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]