I am getting this string which contains this substring gratuit.AFLĂ MAI MULTEDe
from webservice. when i save this in data base in my local(windows) works fine but when i try to save on server when it is deployed on linux i get following error:
Incorrect string value: '\xC4\x82 MAI...' for column 'description' at row 1
I am using hibernate 3.3 with mysql 5.5 (both windows and linux) and database usage default encoding (latin1).
I have tried setting -Dfile.encoding=UTF8
in JAVA_OPT but not worked, i think its this is os related problem.
Any suggestion?