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]