Subject: RE: [xsl] Non-English character problem From: "Fu, Gwowen" <gfu@xxxxxxxxxxxxxxx> Date: Tue, 9 Jan 2001 17:13:26 -0600 |
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: [xsl] 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: [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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Non-English character pro, Clapham, Paul | Thread | [xsl] <xsl:copy-of>, Palaniappan, Krishna |
Re: [xsl] Hyphenation in XSL FO, Sebastian Rahtz | Date | RE: [xsl] xsl:script: functions wri, sara . mitchell |
Month |