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

Client encoding win866.

From: Попов Михаил Юрьевич <Mihail(dot)Popov(at)galaktika(dot)by>
To: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Client encoding win866.
Date: 2011-06-07 11:04:25
Message-ID: 27EFDA7DA70C1E409421B31ECAA8C9D31DD83EDF90@topmail6 (view raw or flat)
Thread:
Lists: pgsql-odbc
Hi.
Can you please tell me how to change client encoding in ODBC?
I tried after a connection to execute SQLExecDirect (stmthp, "set client_encoding to \" WIN866 \ ";", SQL_NTS) , but the encoding is still a win1251.

PS: The database I have with encoding win866.  Windows 7. PostgreSQL 9.0.4. psqlodbc-09.00.0200.

Mihail Popov.

Responses

pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2011-06-07 14:39:29
Subject: Re: Client encoding win866.
Previous:From: Silvio BrandaniDate: 2011-05-20 07:48:21
Subject: Re: Postgres Server Odbc driver compatibility matrix

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