It's very strange!

When I use getString() for a Label like this add(new
Label("id",getString(test)));
and in my property file : test = Générer Document.
It's not working

But if I use for I validator :
error(getString("test"));
It's working and display the stress


Matej Knopp-2 wrote:
> 
> Property files are always ISO 8859-1. Try escaping the string in
> property file or use eclipse plugin that does that for you. Or try xml
> property files.
> 
> -Matej
> 
> On Fri, May 30, 2008 at 1:32 PM, Fabien D. <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi everybody,
>>
>> I'm french and unfortunately in french we have stresses!
>>
>> My server tomcat is using UTF-8, and all my files are encoding in UTF-8,
>> and
>> I want to use this standard.
>>
>> When I want to display a label : like this
>>
>> "add(new Label ("name","Générer Document"));"
>>
>> It displays :
>>
>> GÃ(c)nÃ(c)rer Document
>>
>> I try to use file.propertie and getString(), it is the same issue, I try
>> to
>> replace "é" by html caracter "é" but it displays "é"....
>>
>> So I don't know where it is the problem with UTF-8 because if my file is
>> encoding in ISO-8859-1 it woks well.
>>
>> If you have suggestion, thank you in advance.
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-with-Stress-tp17556788p17556788.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-Stress-tp17556788p17557117.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to