DBI-Link and Sybase
DBI-Link and Sybase
От:
Richard LEHAUT <richard.lehaut@crpf.fr>
Дата:
Hello I use DBI-Linkproject with PostgreSQL 8.4.9 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.4.real (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5, 64-bit and a Sysbase database. I've a enconding's problem. SET client_encoding = SQL_ASCII; Result SELECT .... ForNom | substr | ascii | ascii ------------+--------+-------+------- La Trinit▒ | ▒\x0F5 | 37877 | 233 SET client_encoding = 'UTF8'; Result SELECT .... ForNom | substr | ascii | ascii -----------+--------+-------+------- La Trinit | \x0F5 | 37877 | 233 I tried to configure the parametre dbi_link.data_source and dbi_link.yaml:dbh_attributes no sucess. Thank you for your help. -- Richard LEHAUT