Re: Problem with Chinese characters - Mailing list pgsql-odbc

From Dave Page
Subject Re: Problem with Chinese characters
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3918@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Problem with Chinese characters  (Mimi Siu <bbnoopys@yahoo.com>)
List pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Mimi Siu
> Sent: 04 November 2005 09:56
> To: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Problem with Chinese characters
>
> Hello:
>
> I would like to use ANSI ODBC driver as my sql
> statement is already converted to UTF-8 before
> calling SQLExecute(). However, i found from the log
> file that the client encoding is BIG5 which is my
> system's locale, so the text is wrong when it is
> inserted to my UNICODE database.
>
> Can I set the client encoding to UTF8 in my DNS or
> through any ODBC functions??

In the connect settings box in the config, you can add something like:

SET client_encoding TO 'UTF8';

Regards, Dave.

pgsql-odbc by date:

Previous
From: Josef Springer
Date:
Subject: Re: Snapshot 08.01.0006 available for testing
Next
From: "Dave Page"
Date:
Subject: Re: Snapshot 08.01.0006 available for testing