Re: ANSI and Unicode driver

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: ANSI and Unicode driver
Date: 2006-02-20 18:08:40
Message-ID: 43FA05A8.3090306@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Joshua D. Drake 2006-02-20 18:13:06 Re: Production version of ODBC drivers
Previous Message Hiroshi Saito 2006-02-20 17:48:23 Re: Building the psqlODBC enhanced branch (Linux)