pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ANSI and Unicode driver
Date: Tue, 21 Feb 2006 03:08:40 +0900
Message-ID: <43FA05A8.3090306@tpf.co.jp> (raw)
In-Reply-To: <200602201704.52850.peter_e@gmx.net>
References: <200602201704.52850.peter_e@gmx.net>

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



view thread (7+ messages)  latest in thread

Message-ID: <43FA05A8.3090306@tpf.co.jp>
Permalink:  ../43FA05A8.3090306@tpf.co.jp/
Also on:    postgresql.org/message-id/43FA05A8.3090306@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, peter_e@gmx.net
  Subject: Re: ANSI and Unicode driver
  In-Reply-To: <43FA05A8.3090306@tpf.co.jp>
  References: <200602201704.52850.peter_e@gmx.net> <43FA05A8.3090306@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox