DBI-Link and Sybase - Mailing list pgsql-novice

From Richard LEHAUT
Subject DBI-Link and Sybase
Date
Msg-id 4EB7AD73.6000109@crpf.fr
Whole thread Raw
List pgsql-novice
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


pgsql-novice by date:

Previous
From: "Jean-Yves F. Barbier"
Date:
Subject: Re: function refused - oops: forget
Next
From: Ramy Abdel-Azim
Date:
Subject: complete uninstall of postgres 9.0.4