From: | Richard LEHAUT <richard(dot)lehaut(at)crpf(dot)fr> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | DBI-Link and Sybase |
Date: | 2011-11-07 10:05:39 |
Message-ID: | 4EB7AD73.6000109@crpf.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Ramy Abdel-Azim | 2011-11-07 14:02:22 | complete uninstall of postgres 9.0.4 |
Previous Message | Jean-Yves F. Barbier | 2011-11-07 01:09:26 | Re: function refused - oops: forget |