Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V37Rc-00050Y-LB for pgsql-odbc@arkaria.postgresql.org; Sat, 27 Jul 2013 16:34:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V37Rb-0004jR-99 for pgsql-odbc@arkaria.postgresql.org; Sat, 27 Jul 2013 16:34:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V37Ra-0004jK-GM for pgsql-odbc@postgresql.org; Sat, 27 Jul 2013 16:34:10 +0000 Received: from mout.gmx.net ([74.208.4.201]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V37RY-0007zV-BU for pgsql-odbc@postgresql.org; Sat, 27 Jul 2013 16:34:10 +0000 Received: from [172.16.0.10] ([174.3.159.224]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0MZTL9-1UoTtw3SGL-00LFAi for ; Sat, 27 Jul 2013 18:34:06 +0200 Message-ID: <1374942843.755.14.camel@elitebook.localdomain> Subject: Re: UNICODE again From: "Frank A. U." To: pgsql-odbc@postgresql.org Date: Sat, 27 Jul 2013 10:34:03 -0600 In-Reply-To: <51F3942A.2050607@tpf.co.jp> References: <1374889800.772.27.camel@elitebook.localdomain> <51F3942A.2050607@tpf.co.jp> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:G0lyeBw6R5OdqwuKjUWOnMotmQbTW2F3x7qMQU0fjtGp7G/nL4e YRJeqEr0nmIhRMO5hcAsIInLGXTMLbAEKrj2YD+RSx5A5Ydn2fHo4QuNl8UgfmTge745EJJ e8Z8z/h3GFktzglqoEYJV7WqrQaUsOx4ihMnbcALxmRyecV91UV1oC+PfukLMcsclEr21aY fAwd2iLaeprLlyPsZLohg== X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On Sat, 2013-07-27 at 18:34 +0900, Hiroshi Inoue wrote: > (2013/07/27 10:50), Frank A. U. wrote: > > So lets clarify this again for me. > > How do you use odbc? > Via applications like MS Access or MS Excel ...? > Or via middlewares like ADO or .NET ...? > Or via your applcations which call ODBC APIs directly? Via the application. I'm trying to write a binding for it. I'm new to ODBC. The confusing thing about it is that, as far as I understand, the wide API should consume UCS-2 (by standard) but some drivers seem to use UTF-16 there. Similar situation for the ANSI API which may be even worse if we consider the legacy code pages and UTF-8 -- how does an application know what it gets there? Well and there's apparently the possibility that translations happen in the DM. Maybe this is not the right place to discuss those things but I use psqlodbc for my testing. > > regards, > Hiroshi Inoue > > > When I use the wide ODBC API, UTF-16 chars are exchanged with the > > application and not UCS-2 chars? > > > > When I use the ANSI ODBC API what is the expected encoding in this case? > > > > Thanks, > > Frank > > > -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc