Sorry.. this is while submitting form. I started using this filter and the
problem was solved. But is this the right way?
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
Regards,
Rohit
-----Original Message-----
From: Lukasz Lenart [mailto:[email protected]]
Sent: 31 March 2011 18:18
To: Struts Users Mailing List
Subject: Re: Chinese character problem
2011/3/31 Rohit <[email protected]>:
> I am trying to handle Chinese word in my application (Struts2 bases), but
> when the word "沃尔沃" in UI it becomes "沃尔沃".
>
> How can I handle this?
Are you using property files?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]