Hi Sébastien,

If by resource files you mean .properties files, you cannot encode them in
utf-8. java.util.Properties always assumes ISO 8859-1 encoding when loading
.properties files

Thomas

On Mon, May 19, 2008 at 1:24 PM, Piller Sébastien <[EMAIL PROTECTED]>
wrote:

> Hello guys,
>
> I have a problem with the encoding of some text, on my deployment server
> (Unix/Linux). I use wicket to generate the body of emails, with this code:
>
>   StringResponse stringResponse = new StringResponse();
>   Response originalResponse = RequestCycle.get().getResponse();
>
>   try {
>       RequestCycle.get().setResponse(stringResponse);
>       render();
>   } finally {
>       RequestCycle.get().setResponse(originalResponse);
>   }
>
>   return stringResponse.toString();
>
> All of my resources files are encoded with UTF8.
>
> When I use it on my development workstation, everything works fine. Every
> chars are properly rendered.
>
> But on the production server, it seems that the email is converted to
> ISO8859-1 (and special chars are not rendered properly in UTF8). But others
> web pages are properly rendered (I only have a problem when dealing with
> responses)
>
> Have you guys any idea on how to fix it? Do I have to do someting on the
> server config?
>
> Thank you vm!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to