My java files are encoding in UTF8 and my HTML too and use UTF :
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
but if a use Label and getString() I have to put the setEscapeModelString to
convert String to html and the equivalent caracter in html like é ->
&.egrave;
Florian Sperber wrote:
>
> Hi Fabien,
>
> if you save your .java files as utf-8 and mark your html files as utf-8
> html you should be
> able to use special characters directly.
>
> Kind regards
> Florian Sperber
>
> On Fri, 30 May 2008 05:08:40 -0700 (PDT), "Fabien D."
> <[EMAIL PROTECTED]> wrote:
>>
>> Thank you, it's working I have forgot the htmp code like è
>>
>> Fabien D. wrote:
>>>
>>> Thank you for your help, but It's not working :(
>>>
>>>
>>> Thijs wrote:
>>>>
>>>> Label label;
>>>> add(label = new Label ("name","Générer Document"));"
>>>> label.setEscapeModelStrings(false);
>>>>
>>>> Thijs
>>>>
>>>>
>>>>
>>>> Fabien D. schreef:
>>>>> 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éné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.
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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-tp17556788p17557705.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]