Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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 
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 

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

Hiroshi Inoue

In response to


pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group