cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Victoor <alexandre.vict...@fr.adp.com>
Subject Re: FW: Escaping in XSP Logic
Date Fri, 05 Dec 2003 08:38:30 GMT
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:yves.vindevogel@implements.be]
>Sent: woensdag 3 december 2003 19:21
>To: users@cocoon.apache.org
>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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message