RE: [xsl] I18N / UTF-8 versus US-ASCII

Subject: RE: [xsl] I18N / UTF-8 versus US-ASCII
From: "Sangal, Amit (STSD)" <amit.sangal@xxxxxx>
Date: Tue, 4 Apr 2006 14:55:34 +0530
Even if I open the UTF-8 file with unipad( UTF-8 enabled editor) , I see following.

<Dependencies>
<Source>europeG;o?=o?=</Source>
<Target>email_node3</Target>
</Dependencies>

Whereas I expect something like following

  <Dependencies>
  <Source>europem(m0</Source> 
  <Target>email_node3</Target> 
  </Dependencies>


Regards,
Amit 
 

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx] 
Sent: Tuesday, April 04, 2006 2:39 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] I18N / UTF-8 versus US-ASCII

> When I use UTF-8 encoding, it makes these characters into 
> garbled mess, like CB;CC

> <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
> e.g 
> <Dependencies>
> <Source>europeCB;CC
</Source>
> <Target>email_node3</Target>
> </Dependencies>

This is because you are looking at the UTF-8 file using a text editor or
other display software that doesn't understand UTF-8. If you view it with a
UTF-8 enabled editor, you'll probably find that it's not a garbled mess at
all.

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--~--

Current Thread