Re: UNICODE again

From: "Frank A(dot) U(dot)" <fau(at)email(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: UNICODE again
Date: 2013-07-27 16:34:03
Message-ID: 1374942843.755.14.camel@elitebook.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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
>
>
>

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Barry Bell 2013-07-31 14:29:03 Re: B7 option
Previous Message Hiroshi Inoue 2013-07-27 09:34:34 Re: UNICODE again