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

Re: Display of character 0x96 (#150) in IE, Firefox and Safari


firefox special characters
In article <74a894af0604210137s387076f9o8fb29f42a6f9dc22@m...> you write:
>In the XML spec it states that the parser must only resolve character
>references using Unicode - so why do the browsers render #150 as a
>dash?

How does a browser go about rendering a character?  If it's not a
special character it knows about, it will just display it using the
current font.  Presumably the font that it is using has a dash at that
position, quite likely because it was assembled to cover Unicode from
a number of separate existing fonts one of which was intended to be
used for both the Windows encoding and Latin-1.

I doubt that (X)HTML specifies anything about how the &#150; character
should be rendered, in which case the browser isn't technically wrong.
It's the document author who has made a mistake.  But it would be
preferable if the browser used a font that didn't hide the error.

-- Richard

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.