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

Re: International Characters in attributes

Subject: Re: International Characters in attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 9 Feb 2001 18:17:35 GMT
Re:  International Characters in attributes

> it outputs the following characters to the HTML:

which is surprising but correct (I assume, I didn't actually check the
UTF8)

You are presumably outputting in the default utf8 encoding, in which
case most latin 1 characters have a two byte encoding, the first byte of
which looks like an accented A if you (incorrectly) view th echaracters
in a latin 1 window.

The output method may output the character in any legal format so
&uuml; or &#1234; (wrong number:-) or in the encoding of the output
document (utf8 in your case).

I'd have expected it to use the same mechanism for all occurences of the
character in the result tree, but it isn't obliged to according to the
spec. 

You might want to output HTML in iso-8859-1 rather than utf-8.

David

 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.