Re: ANSI and Unicode driver

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: ANSI and Unicode driver
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40103E24D@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на ANSI and Unicode driver  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: ANSI and Unicode driver  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Peter Eisentraut
> Sent: 20 February 2006 16:05
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] ANSI and Unicode driver
>
> So really, what is the difference between the ANSI and the
> Unicode driver?
> The Unicode driver sets the client encoding to UTF-8, but
> does that mean that
> the client application has to use UTF-8 or does the driver
> manager convert
> that?  What do you use if you have, say, a Chinese
> application.  Or a Latin 1
> application but a UTF-8 database?  How does this work?  I'm confused.

The Unicode driver adds a bunch of unicode-specific APIs. Our ANSI
driver can handle Unicode data as multibyte strings as well, but without
the Unicode APIs that many non-multibyte aware versions of Windows
require (if that makes sense!).

Regards, Dave.

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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Building the psqlODBC enhanced branch (Windows)
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Building the psqlODBC enhanced branch (Linux)