[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: dash

Subject: Re: dash
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 13 Mar 2001 22:20:19 -0700 (MST)
dash character in xml
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
&#150; references, by definition. &#150; 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 &#x2013; and &#x2014; 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


Current Thread
  • dash
    • YueMa - Tue, 13 Mar 2001 17:44:38 -0500 (EST)
      • Wendell Piez - Tue, 13 Mar 2001 18:01:39 -0500 (EST)
        • Peter Flynn - Tue, 13 Mar 2001 19:39:48 -0500 (EST)
          • Mike Brown - Wed, 14 Mar 2001 00:19:32 -0500 (EST) <=
          • YueMa - Wed, 14 Mar 2001 12:27:01 -0500 (EST)
          • David Carlisle - Wed, 14 Mar 2001 13:05:13 -0500 (EST)
          • YueMa - Wed, 14 Mar 2001 15:01:26 -0500 (EST)
          • Mike Brown - Thu, 15 Mar 2001 02:25:02 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.