Seraph115 发表于 2013-1-30 02:10:49

Informix数据库JDBC连接的字符集设置

在使用JDBC连接时设置code set以支持i18n:
URL:jdbc:informix-sqli://127.0.0.1:1528/test:INFORMIXSERVER=ifx;newcodeset=GBK,8859-1,819

其中参数 NEWCODESET=JDK-encoding,Ifx-codeset,Ifx-codeset-number:JDK-encoding, Ifx-codeset,Ifx-codeset-number...

具体内容可在InformixIBM Informix JDBC Driver Programmer’s Guide.pdf手册中的
第6章找到 Chapter 6. Internationalization and Date Formats
页: [1]
查看完整版本: Informix数据库JDBC连接的字符集设置