This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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@core-mark.com]
Sent: Tuesday, January 09, 2001 4:24 PM
To: xsl-list@lists.mulberrytech.com
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@chi.navtech.com]
Sent: January 9, 2001 13:46
To: 'xsl-list@lists.mulberrytech.com'
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@lopez.org]
Sent: Tuesday, January 09, 2001 3:26 PM
To: xsl-list@lists.mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]