Re: Chinese character problem

2011-03-31 Thread Dave Newton
When displaying? When submitting a form? When what? Is your encoding
set properly? Are you escaping it somewhere?

2011/3/31 Rohit ro...@in-rev.com:
 Hi,

 I am trying to handle Chinese word in my application (Struts2 bases), but
 when the word 沃尔沃 in UI it becomes #27779;#23572;#27779;.

 How can I handle this?

 Regards,
 Rohit


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




Re: Chinese character problem

2011-03-31 Thread Lukasz Lenart
2011/3/31 Rohit ro...@in-rev.com:
 I am trying to handle Chinese word in my application (Struts2 bases), but
 when the word 沃尔沃 in UI it becomes #27779;#23572;#27779;.

 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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Chinese character problem

2011-03-31 Thread Rohit
Sorry.. this is while submitting form. I started using this filter and the 
problem was solved. But is this the right way?

filter
filter-nameencodingFilter/filter-name

filter-classorg.springframework.web.filter.CharacterEncodingFilter/filter-class
init-param
param-nameencoding/param-name
param-valueUTF-8/param-value
/init-param
init-param
param-nameforceEncoding/param-name
param-valuetrue/param-value
/init-param
/filter 
  

Regards,
Rohit

-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] 
Sent: 31 March 2011 18:18
To: Struts Users Mailing List
Subject: Re: Chinese character problem

2011/3/31 Rohit ro...@in-rev.com:
 I am trying to handle Chinese word in my application (Struts2 bases), but
 when the word 沃尔沃 in UI it becomes #27779;#23572;#27779;.

 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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org