oralce + java encoding problem while insert
- by Ahmad
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]