You have to declare all the entities corresponding to the latin1 characters in the xml/xsl file you are transfering or with which you translate.

<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> <!ENTITY ocirc "�"> <!ENTITY eacute "�"> <!ENTITY egrave "�"> <!ENTITY agrave "�"> ]>

Probably &amp; is declared so the parser handles it.. just declare the other entities and it should go smoothly..

:)

cya

Eriam


Rolando Pablos S�nchez a �crit:

No. At least just writing &#241.
I've tried &ntilde; but I get "&amp;ntilde;" in the wire and "&ntilde" in
the destination string, so it translates & but nothing else.

Besides, actually I don�t write the string. It is passed to me. Is the
solution to write a function to translate and other to undo the translation?


----- Original Message -----
From: "BLIS Webmaster (Patrick Houbaux)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 2:59 PM
Subject: Re: � and other characters



Hi !

Just an idea.
I don't know if it works.
You can try by using the decimal ascii code for these characters.
For instance:
� : &#228;
� : &#241;
� : &#237;

Tell me if it works I'm interested :)
Patrick.


I am transmitting strings and it was OK until I transmitted �,� and
similar characters. It is because I need to transmit spanish characters.
I get a error parsing because of that. I thought it was automatic but it
wasn�t. I have even tried the method: String
org.apache.axis.utils.XMLUtils.xmlEncodedString(String)But nothing. So
how can I send � and other international characters?


-------------
Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci.





Reply via email to