Re: ANSI and Unicode driver

From: Marc Herbert <Marc(dot)Herbert(at)continuent(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: ANSI and Unicode driver
Date: 2006-02-21 09:50:23
Message-ID: khjacclt50g.fsf@meije.emic.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp> writes:

> Peter Eisentraut wrote:
>
>>So really, what is the difference between the ANSI and the Unicode driver?

"ANSI" actually just means "8 bits" in MS-speak.
<http://blogs.msdn.com/oldnewthing/archive/2004/05/31/144893.aspx>

And "Unicode" actually means UCS-2/UTF-16.

Things started to become clearer for me once I found the
translation...

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

Has anyone already seen some real 4-bytes/UCS-4 ODBC applications
running out there, or only 2-bytes/UCS-2/UTF-16 applications like
Microsoft implies through all its documentations?

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Arnaud Lesauvage 2006-02-21 10:02:18 Re: TCP_NO_DELAY & TcpAckFrequency (Re: Slow query through
Previous Message Marc Herbert 2006-02-21 09:43:06 Re: ANSI and Unicode driver