Hi everyone,

We are doing an EJB application which is supported Chinese language (which 
allowed end-user to entry chinese and retrieve it from DB and displayed on 
page).
In order to displayed the chinses on jsp page, we have the following setting 
for HTML header in every jsp page:
<META HTTP-EQUIV="Content-Type"  CONTENT="text/html; charset=GB2312" >

As my understand, this setting will automatically change the browser's encoding 
menthod to GB2312 without asking end-user to manually change the setting by 
they own.

However, we found this setting did not work. the encoding setting of browser is 
always set to ISO and end-user need to manual change it to GB2312.

But if we add "<%response.reset();%> in the jsp page, then it work and 
automatically change the browser's setting....... very strange. Unforunately, 
reset() menthod is also reset some parameter value in the response header which 
is necessary information for us.

Does anyone have this kind of experience  before? Is any setting of Jboss will 
override the setting for charset in every response? 

It will be appreciate for any comments for you guys. Thank you

-Evan

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007125#4007125

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007125
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to