Hi, We have an application which supports Japanese language, so our default charset and encoding is set to SJIS. Things were working fine in JBOSS3.2 but recently we migrated to JBOSS 4.0.2 since when we have the following problem:
If we set some strings holding Japanese values in the attribute (request.setAttribute()) and try to display that on JSP, we get ??? But earlier it was working just fine. We are sure about all the settings that we made like setting encoding type and charset for request and response. If I assume that the string that I get from attribute is of ISO8859_1 and try to change it to SJIS, like String tempName = (String) request.getAttribute("product"); byte[] temp = tempName.getBytes("ISO8859_1"); String productName = new String(temp, "SJIS"); then it works fine. But we have a release this weekend and its impossible to change everywhere to read as ISO8859-1 and convert to SJIS !!!! Can anybody please help and tell me if there is any configuration in tomcat/jboss where I can set it. I tried setting the attribute in server.xml but it didn't help. Please help ASAP. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911637#3911637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911637 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user