Re: Unicode support

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Unicode support
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9D91@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Unicode support  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Dave Page
> Sent: 31 August 2005 08:20
> To: Hiroshi Saito; Anoop Kumar
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Unicode support
>
>
> OK, I'll prepare a patch, and because it's an odd problem, a
> test build
> to go with it. Any voluteers to test? It really needs people with a
> reproducable encoding error that doesn't existing in 07.xx, or people
> using BDE (which barfs bigtime on SQL_C_Wxxx data).

OK, patch attached. This works slightly differently than I envisaged,
because simply switching off Unicode isn't that straight forward,
especially if the DM is using the *W functions.

Basically what this does is only offer wide character types if the
database is unicode, and, in that case, sets the client encoding to
unicode. For anything else, it will report non-wide character types as
per the 07 driver, and let the user set their own encoding as required.
From what I can tell of the BDE missing fields problem, this should
almost certainly fix it.

Please look at this carefully - as most of you know, MB/Unicode issues
aren't exactly my strong point!

I'll forward test DLLs to volunteer victims privately.

Regards, Dave.

Вложения

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

Предыдущее
От: Johann Zuschlag
Дата:
Сообщение: Re: Unicode support
Следующее
От: Cleber Nardelli
Дата:
Сообщение: Re: [Fwd: Re: Transactions and SavePoints]