• No replies
1 Post

Pinned topic Error code 4220, Sqlstate 2201 encoding or locale not supported

‏2011-10-13T15:02:42Z |
Hi all,

for first sorry for my english.

I've got a problem with a standalone java application.

I'm trying to fetch data from a DB2 database but JDBC always return an error code 4220 during a getString() invocation on resulset object. It seems to be a character encoding problem but I don't know how to fix it.

I'm using the following jars: db2jcc-V8-FP15.jar, db2jcc_license_cisuz-V8-FP15.jar, db2jcc_license_cu-V8-FP15.jar

I've noticed that the same error appears using Squirrel SQL

Thanks in advance