> -----Original Message-----
> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Dave Page
> Sent: 31 August 2005 08:20
> To: Hiroshi Saito; Anoop Kumar
> Cc: pgsql-odbc(at)postgresql(dot)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.
Description: application/octet-stream (6.9 KB)
pgsql-odbc by date
|Next:||From: Cleber Nardelli||Date: 2005-08-31 11:35:03|
|Subject: Re: [Fwd: Re: Transactions and SavePoints]|
|Previous:||From: Johann Zuschlag||Date: 2005-08-31 08:00:33|
|Subject: Re: Unicode support|