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]

Reply via email to