[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Encoding attribute


Subject: Re: [xsl] Encoding attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Jan 2004 16:57:38 GMT

  No, it's simple:
  - ISO Latin 1 (aka ISO-8859-1, what M$ calls ISO West)
  has no euro sign.
  - ISO Latin 9 (aka ISO-8859-15) is basically the same as Latin 1, but 
  some characters changed, and the euro sign has been added [1].
  - UTF-8 is a unicode character set, and unicode has the euro sign.

Which is all true but note that you can have (in html or xml) a euro
sign in files with any of those encodings. In the second two the sign
can be encoded directly as character data, then whether or not it
displays depends on whether th ebrowser knows that encoding.
in the first, the character should be linearised as & # x 20ac; and
should render correctly whatever encoding the browser thinks the file is
in, so long as the browser can render the character at all.

David





-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords