当前位置: 代码迷 >> 综合 >> Informix数据库JDBC连接的字符集设置
  详细解决方案

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

热度:76   发布时间:2024-01-19 10:09:35.0
在使用JDBC连接时设置code set以支持i18n:
[color=blue]URL:[/color]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
  相关解决方案