Re: ANSI and Unicode driver - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: ANSI and Unicode driver
Date
Msg-id 43FA05A8.3090306@tpf.co.jp
Whole thread Raw
In response to ANSI and Unicode driver  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-odbc
Peter Eisentraut wrote:

>So really, what is the difference between the ANSI and the Unicode driver?
>

There are 2 kind of applications, Unicode applications and ANSI
applications.
Unicode applications uses UCS-2(4) encoding and call Unicode ODBC APIs.

>
>The Unicode driver sets the client encoding to UTF-8, but does that mean that
>the client application has to use UTF-8
>

Though Unicode applications are preferable for Unicode drivers,

>or does the driver manager convert
>that?
>

wise driver managers may invoke ANSI <-> UCS-2(4) conversions when ANSI
applications call ANSI ODBC APIs for the Unicode driver.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Production version of ODBC drivers
Next
From: Peter Eisentraut
Date:
Subject: Re: ANSI and Unicode driver