Hi,
When I import data from an CSV file, data seems to be converted (into
iso-8851-1 ???) although the csv data and the db are in utf-8 format.
I also tried "modified by codepage=1208" but it failed too. (but with
different import results):
import from xy.csv of del modified by coldel; replace into tmp
If I do the same statement with LOAD instead of IMPORT it works fine.
DB was created with:
CREATE DATABASE testdb USING CODESET UTF-8 TERRITORY DE.
The CSV file was saved in utf-8 format with open office.
Before connecting to the database locale was set with "export
LANG=de_DE.UTF-8"
DB2/LINUX 7.2.9 (V7 with fixpack 12)
I know this is an old DB2 Version but Migration is planned for next year.
Thanks for any hint
Stefan
When I import data from an CSV file, data seems to be converted (into
iso-8851-1 ???) although the csv data and the db are in utf-8 format.
I also tried "modified by codepage=1208" but it failed too. (but with
different import results):
import from xy.csv of del modified by coldel; replace into tmp
If I do the same statement with LOAD instead of IMPORT it works fine.
DB was created with:
CREATE DATABASE testdb USING CODESET UTF-8 TERRITORY DE.
The CSV file was saved in utf-8 format with open office.
Before connecting to the database locale was set with "export
LANG=de_DE.UTF-8"
DB2/LINUX 7.2.9 (V7 with fixpack 12)
I know this is an old DB2 Version but Migration is planned for next year.
Thanks for any hint
Stefan
Comment