Re: Problem with Chinese characters

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Problem with Chinese characters
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC38CD@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Problem with Chinese characters  (Mimi Siu <bbnoopys@yahoo.com>)
Ответы Re: Problem with Chinese characters  (Mimi Siu <bbnoopys@yahoo.com>)
Список pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Mimi Siu
> Sent: 03 November 2005 10:03
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] Problem with Chinese characters
>
> Hi:
>
> I am using psqlodbc-08-00-0102 ODBC driver on my
> Windows 2000 machine and want to insert data (with
> chinese characters) to the postgresql 8.0.3 running on
> RH9.
>
> My database is encoded as UNICODE, and my sql
> statement is already converted to UTF-8 before calling
> SQLExecute(). But I found that the coding of the
> chinese characters is not UTF-8 in the postgresql
> database. Also if I insert the record with 10 chinese
> characters, the length of the field should be 10, but
> now it is 30.
>
> It was previously work when I use the
> psqlodbc-07-02-01 driver with postgresql 7.3.

Please try the latest snapshot - 08.01.0005. It has various fixes and
can be compiled in Unicode or ANSI/Multibyte mode as the older 07.xx
drivers could (08.00.xxxx was Unicode only).

Regards, Dave

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Mimi Siu
Дата:
Сообщение: Problem with Chinese characters
Следующее
От: Rainer Bauer
Дата:
Сообщение: Re: Problem with Chinese characters