Subject: RE: [xsl] Non-English character problem From: "Clapham, Paul" <pclapham@xxxxxxxxxxxxx> Date: Tue, 9 Jan 2001 14:24:16 -0800 |
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: [xsl] 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: [xsl] 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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Non-English character pro, Fu, Gwowen | Thread | RE: [xsl] Non-English character pro, Fu, Gwowen |
RE: [xsl] <xsl:copy-of>, Chris Bayes | Date | Re: [xsl] Non-English character pro, Mike Brown |
Month |