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

RE: UTF-8 chars in XSL output?

Subject: RE: UTF-8 chars in XSL output?
From: "Seaborne, Mark" <Mark_Seaborne@xxxxxxxxxxxx>
Date: Mon, 30 Jul 2001 15:12:52 +0200
xsl output utf 8
I have had a similar problem when viewing html encoded as UTF-8 (and UTF-16
for that matter) in IE5.5. If you do View|encoding|user defined that usually
solves the problem. Netscape 4.7 does not seem to suffer in the same way.

Mark

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: 30 July 2001 13:44
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  UTF-8 chars in XSL output?


  
   Hi again; I've narrowed my problem down, if you're following:

   I have a UTF-8 XML file with unusual characters (left and right 
   double-quotes).  

   If I set <xsl:output encoding="US-ASCII"/>, I see the quotes; 
   if I let it default to UTF-8, I don't.

   Does this mean that my source XML is *not* UTF-8, as Perl's
   Unicode::String::utf8 claims it to be?


Not really enough there information to help, but a guess:
when you ask for utf8 (or get it by default) then th esystem does write
out the result in utf8 but whatever you are using to look at th eoutput
doesn't read utf8 so you don't see the uotes.

By specifying ascii output you force your XSL system to output the
quotes as &#1234; and whatever system you are using to llok at the
output does understand character references.

If it's the browser you are using to read the output make sure that you
have the encoding set to utf8 or auto, not that you are forcing it to be
latin 1.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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

 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.