I have problem to show chinese characters stored in MySQL database with
use of struts bean tag. Data is read out using Hibernate. When I call
myHibernateObject.getMyProperty() method - everything works fine. But
using <bean:write name="myHibernateObject" property="myProperty"/> does
show text in this notation: &#xxxx &#xxxx. Same problem occurres when I
use this bean in struts form with <html:text name="myHibernateObject"
property="myProperty"/>

Encoding of database is set up properly to gb2312. JSP page uses UTF-8
encoding. How can I set character encoding for struts bean tag ? Or where
is the problem ?

Thanks a lot for your help.
Milan




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to