struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: UTF-8 encoding & <bean:message> tag problem
Date Tue, 17 Oct 2006 16:00:16 GMT
Good Morning Novin-
Did you use the native2ascii tool to convert the properties file?

I found this link quite helpful on explaining the entire process of unicode string conversion
Martin --

This e-mail communication and any attachments may contain confidential and privileged information
for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified
that you have received
this communication in error and that any review, disclosure, dissemination, distribution or
copying of it or its 
----- Original Message ----- 
From: "navin mca" <>
To: "struts user group" <>
Sent: Tuesday, October 17, 2006 10:05 AM
Subject: UTF-8 encoding & <bean:message> tag problem

> Hi Team,
>  My current project is supporting charachter encoding IS0-8859 and now we have to support
>  for that I had made following changes
>  1) in all jsp files
>  <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
>  2) in all html 
>  <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
>  Now I had pasted some UTF-8 charachters in application resources file.
>  But In JSP page I m getting problem where text is picking up from resource bundle.
>  I m using <bean:message tag and when It picking up the UTF-8 charachter it is displaying
>  Wht should I do?
>  Help me.
>  I know that there should be some machanism needed to make the <bean:message tag to
understand that It has to decode the text as UTF-8.
>  Do I need to save the application properties file with Encoding UTF-8?...wht else?
>  Hope you undersand my problem.
>  regards,
>  Novin
> Thanks and Regards, 
> Novin Jaiswal 
> +919890089443(M) 
> +912026901306(O) direct 
> +912026982424 Extn:1306
> ---------------------------------
> Stay in the know. Pulse on the new  Check it out.
View raw message