我使用 jt400 从 as400 - db2 上的数据库中获取数据。
我的数据库使用 ccsid 37 编码。我只有波兰语字母有问题。如何强制 jt400 使用正确的编码?
我试过了
jdbc:as400://MY_SYSTEM/LIBRARY;translate binary=true
AS400Text converer = new AS400Text(stringFromDb.length(), 37);
String stringAfterConversion = converter.toObject(stringFromDb.getBytes());
但它不起作用