pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Попов Михаил Юрьевич <Mihail.Popov@galaktika.by>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Client encoding win866.
Date: Tue, 07 Jun 2011 23:39:29 +0900
Message-ID: <4DEE3821.8010801@tpf.co.jp> (raw)
In-Reply-To: <27EFDA7DA70C1E409421B31ECAA8C9D31DD83EDF90@topmail6>
References: <27EFDA7DA70C1E409421B31ECAA8C9D31DD83EDF90@topmail6>

(2011/06/07 20:04), Попов Михаил Юрьевич wrote:
> 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.

How do you confirm the client_encoding?

regards,
Hiroshi Inoue

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





view thread (7+ messages)  latest in thread

Message-ID: <4DEE3821.8010801@tpf.co.jp>
Permalink:  ../4DEE3821.8010801@tpf.co.jp/
Also on:    postgresql.org/message-id/4DEE3821.8010801@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, Mihail.Popov@galaktika.by
  Subject: Re: Client encoding win866.
  In-Reply-To: <4DEE3821.8010801@tpf.co.jp>
  References: <27EFDA7DA70C1E409421B31ECAA8C9D31DD83EDF90@topmail6> <4DEE3821.8010801@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox