For Java code inside XSPs you have to use Unicode escapes:

  � = \u00E7

See http://www.unicode.org/charts/PDF/U0080.pdf for other Latin-1
characters.

HTH, Alfred.

> -----Original Message-----
> From: Alexandre Victoor [mailto:[EMAIL PROTECTED]
> Sent: Freitag, 5. Dezember 2003 09:39
> To: [EMAIL PROTECTED]
> Subject: Re: FW: Escaping in XSP Logic
> 
> 
> Hi
> You should perhaps externalize your hard-coded string 
> messages in a java 
> class or a property file or something like that...
> 
> Alex
> 
> At 22:30 04/12/2003 +0100, you wrote:
> >nobody ?
> >
> >-----Original Message-----
> >From: Yves Vindevogel [mailto:[EMAIL PROTECTED]
> >Sent: woensdag 3 december 2003 19:21
> >To: [EMAIL PROTECTED]
> >Subject: Escaping in XSP Logic
> >
> >Hi,
> >
> >I have this syntax ...
> >
> ><xsp:logic>
> >     String sMessageNoResultsOther = "Pas de produits qui 
> commen�ent avec 
> > 1-...-9, ..." ;
> ></xsp:logic>
> >
> >When I use the <xsp:expr> to put the string there, I lose my 
> "�".  It's 
> >represented as "?".
> >I have this with all characters from "Iso-8859-1" with 
> "strange" chars.
> >
> >My XSP is declared with correct encoding
> ><?xml version="1.0" encoding="ISO-8859-1"?>
> >
> >Is there a way to avoid this, or to use escaping in xsp:logic ?
> >I tried with &#231;   but that's no help.
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to