oralce + java encoding problem while insert

Posted by Ahmad on Stack Overflow See other posts from Stack Overflow or by Ahmad
Published on 2010-12-29T11:00:27Z Indexed on 2010/12/29 11:54 UTC
Read the original article Hit count: 251

Filed under:
|
|

hi, I am kind of stuck on this one. im not a java or oracle guru, so please give detailed answers :)

i've a web-service that inserts something into DB. the web-service is hosted on axis. the db is oracle with following properties:

NLS_LANGUAGE    AMERICAN
NLS_TERRITORY   AMERICA
NLS_CHARACTERSET    ZHS16GBK

the web-service is hosted on windows server 2008, english version but i have changed the locale of the system to chinese

now the data after insert has encoding problem and shows strange characters like ????,exxk??

the jws file has GBK encoding. and the data that is inserted into the DB is hard-coded in the file [we are not reading it from REQUEST]

© Stack Overflow or respective owner

Related posts about java

Related posts about Oracle