[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Non-English character problem
Thanks, now it is working. The xml file needs <?xml version='1.0' encoding='ISO-8859-1'?> and the xslt file needs <xsl:output ... encoding='ISO-8859-1'/>. Great!!! Gwowen -----Original Message----- From: Clapham, Paul [mailto:pclapham@xxxxxxxxxxxxx] Sent: Tuesday, January 09, 2001 4:24 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Non-English character problem You need to specify the encoding for your output, since that is where you have the problem: <xsl:output ... encoding='ISO-8859-1'/> The default output encoding is UTF-8, which encodes non-ASCII characters (such as É) in two bytes. PC2 -----Original Message----- From: Fu, Gwowen [mailto:gfu@xxxxxxxxxxxxxxx] Sent: January 9, 2001 13:46 To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: RE: Non-English character problem Hi, Thanks for help bu it is not working. I tried this <?xml version='1.0' encoding='ISO-8859-1'?> and now the "RUE DES ÉRABLES" becames "RUE DES Ã?RABLES". Please help! Thanks! Gwowen -----Original Message----- From: Fernando López Carballeda [mailto:fernando@xxxxxxxxx] Sent: Tuesday, January 09, 2001 3:26 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Non-English character problem Hi, I'm newbie in xsl but I live in Spain. We have non English characters in ours xsml Files and my XSL-T works fine since we use this: <?xml version='1.0' encoding='ISO-8859-1'?> Hope this help, Fernando López Carballeda PS.- Do not hesitate to correct me. -----Mensaje original----- De: Fu, Gwowen Enviado el: martes, 09 de enero de 2001 21:56 Asunto: Non-English character problem Hi, I have a node contains non English character É. <SegmentName>RUE DES ÉRABLES</SegmentName> I run xt with my stylesheet and get the output: RUE DES É'ABLES The 'R' follows É is replaced by '. Does any one know why? I tried putting "xml:lang='fr-CA' in the xml file and run xt with parameter language=fr-CA. None of them work. Thanks! Gwowen XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|