X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9CA729DCAB8 for ; Mon, 20 Feb 2006 14:08:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 49574-02 for ; Mon, 20 Feb 2006 14:08:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (mail.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 9ECB59DCA44 for ; Mon, 20 Feb 2006 14:08:39 -0400 (AST) Received: (qmail 18431 invoked from network); 21 Feb 2006 03:08:39 +0900 X-Authentication: inoue was authenticated by mail.tpf.co.jp at 21 Feb 2006 03:08:39 +0900 Received: from unknown (HELO ?192.168.11.2?) (219.61.40.10) by mail.tpf.co.jp with SMTP; 21 Feb 2006 03:08:39 +0900 Message-ID: <43FA05A8.3090306@tpf.co.jp> Date: Tue, 21 Feb 2006 03:08:40 +0900 From: Hiroshi Inoue User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: Peter Eisentraut CC: pgsql-odbc@postgresql.org Subject: Re: ANSI and Unicode driver References: <200602201704.52850.peter_e@gmx.net> In-Reply-To: <200602201704.52850.peter_e@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200602/112 X-Sequence-Number: 7241 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