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 5FA0F9DC86D for ; Tue, 21 Feb 2006 05:49:01 -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 36040-06 for ; Tue, 21 Feb 2006 05:49:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 0ECB79DC82E for ; Tue, 21 Feb 2006 05:48:59 -0400 (AST) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FBU8h-0002L8-Js for pgsql-odbc@postgresql.org; Tue, 21 Feb 2006 10:48:59 +0100 Received: from 83.145.96.118 ([83.145.96.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Feb 2006 10:48:59 +0100 Received: from Marc.Herbert by 83.145.96.118 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Feb 2006 10:48:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-odbc@postgresql.org From: Marc Herbert Subject: Re: ANSI and Unicode driver Date: Tue, 21 Feb 2006 10:50:23 +0100 Lines: 25 Message-ID: References: <200602201704.52850.peter_e@gmx.net> <43FA05A8.3090306@tpf.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83.145.96.118 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:1yyd3b9qoETD1LwidUkpnQv9mmg= X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.345 required=5 tests=[AWL=0.092, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.345 X-Spam-Level: * X-Archive-Number: 200602/120 X-Sequence-Number: 7249 Hiroshi Inoue 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. 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?