Skip site navigation (1) Skip section navigation (2)

DBI-Link and Sybase

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 (view raw or flat)
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


pgsql-novice by date

Next:From: Ramy Abdel-AzimDate: 2011-11-07 14:02:22
Subject: complete uninstall of postgres 9.0.4
Previous:From: Jean-Yves F. BarbierDate: 2011-11-07 01:09:26
Subject: Re: function refused - oops: forget

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group