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

Re: Netscape Navigator not displaying emdash

Subject: Re: Netscape Navigator not displaying emdash
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 20 Dec 2000 09:58:18 -0700 (MST)
netscape michael brown
Martin Stricker wrote:
> there is a really nasty little trick: Use &#150;
> (medium-lenght, best used for a dash) or &#151; (really long, doesn't
> look good as a dash). These two characters are officially non-printable,
> but in most windows fonts (I don't know about other OS) they are
> displayed as dashes. I regularly use &#150; for a dash in my webpages.
> As I said it's a dirty trick and might get you into trouble with certain
> fonts and other operating systems than M$Windoze.

It is not just font and OS dependent, it is a behavior that is also
influenced by browsers (that can choose not to bother with characters that
aren't displayable in the current encoding) and the default character
encoding used by the OS. Regional versions of Windows will use
windows-125x (something other than 1252) encoding which maps 150 and 151
to completely different characters than what you expect.

   - 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

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.