RE: charset problem
Feutrier Olivier <[email protected]>
| Newsgroups | gmane.comp.web.maverick.general |
|---|---|
| Message-ID | <699EC736EB79D511867700306E072458E27F20@mail1_delta.delta-diffusion> |
Try to set in your front controller :
request.setCharacterEncoding("UTF-8");
It works for us...
Oliver
-----Message d'origine-----
De : Hans Lund [mailto:[email protected]]
Envoyé : jeudi 26 juin 2003 10:27
À : [email protected]
Objet : [Mav-user] charset problem
Im having a bit of problems with character encoding, with JSP-templates.
I need to make the output in UTF-8.
My problem is that, whatever set in my controller class and dispatched
to the templates, in the output seames to be in some sort of 2x UTF-8
( As if a UTF-8 encoded string has been taken as input in a latin1 to
utf-8 conversion )
Any suggestion on what to do.
IN my jsp template the following line is set:
<%@ page pageEncoding="UTF-8" %>
and in maverick.xml the defaultRequestCharset is set to utf-8
Thanks
Hans Lund
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
[INVALID FOOTER]
**********************************************************************
Ce message et ses éventuels fichiers attachés sont confidentiels
et sont uniquement à l'attention de la personne physique ou morale
destinatrice. Si vous avez reçu ce message par erreur, merci d'en
avertir l'expéditeur.
Ce bas de page assure également que ce message a été vérifié par un anti-virus
**********************************************************************
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
[INVALID FOOTER]