Character Set Conversions
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
When you export data from a database to a CSV file, the CSV file uses the same code page as the table from which the data was exported. If the CSV file and the target table use different code pages, performance for bulk load operations can suffer because the driver must perform a character set conversion.
To avoid character set conversions, your application can specify which code page to use for the CSV file when exporting data. You can specify any of the following code pages:
|
|
|
For example, if the source database table uses a SHIFT-JIS code page and the target table
uses a EUC-JP code page, specify setCodePage("EUC_JP") to ensure that the CSV
file will use the same code page as the target table. If the code page you need to use is not
listed, contact Customer Support to request support for that code page.