JBoss Community

jboss6 - character encoding of http post request body

created by jetim k in Beginner's Corner - View the full discussion

Hi ,

 

   My backend java application deployed in jboss6  has to support all the languages(english,spanish,japanese,chinese.....) avaiable in the world. We have client application deployed on tablet devices which is on Android based sending the post data to server in UTF-8 encoding but after reading the data on server  ...i am seeing it like this ??? ?? ???.  Even though i tell jboss to do explicit UTF-8 encoding by configuring "JAVA_OPTS=-Dfile.encoding=UTF-8" in the startup file.

 

.if i configure "JAVA_OPTS=-Dfile.encoding=ISO-8859-1" in the jboss startup script . I see all western langauges are properly parsed and displayed whereas eastern langauges are still showing ???? (i.e chinese, japanese). Do i need to do any other setting like fond at jvm to support chinese and japanese characters.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community