Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Im reading from AS400 one arabic field and inserting it into mysql DB, but it seems Im only getting gibberish with qestion marks?
Note: I tried to add into the (additional JDBC parameters) this string (useUnicode=true&characterEncoding=utf8) with no luck....
Hope someone could help.
hi
Your Mysql db also should accept UTF-8 characters. alter your table which field you need to load arabic data.
for your reference please see below query.
ALTER TABLE `database`.`table` MODIFY COLUMN col VARCHAR(255)
CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
Hello,
Have you also tried to add the "Dfile.encoding=utf-8" to the JVM parameters to see if it works?
Best regards
Sabrina
Actually when I changed the CCSID to 420 on AS400 the encoding to cp1256 worked. It is weird that it does not work with the CCSID is 37