giri
giri

Reputation: 27229

character encoding in websphere

Need help on character encoding for web sphere server. I am trying to insert arabic characters in DB. But its stored as ??????? When I changed the server to tomcat it is inserting properly with arabic characters. What changes needs to be done to make it work with web sphere server.

I tried by adding the value in server.xml

-Ddefault.client.encoding=UTF-8" 

Still the issue continues.

Upvotes: 1

Views: 562

Answers (1)

trikelef
trikelef

Reputation: 2204

You can try to enforce an encoding by using the following JVM argument:

-Dclient.encoding.override=UTF-8

Upvotes: 1

Related Questions