pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
UNICODE again
3+ messages / 2 participants
[nested] [flat]

* UNICODE again
@ 2013-07-27 01:50  Frank A. U. <fau@email.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Frank A. U. @ 2013-07-27 01:50 UTC (permalink / raw)
  To: pgsql-odbc

So lets clarify this again for me. 

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: UNICODE again
@ 2013-07-27 09:34  Hiroshi Inoue <inoue@tpf.co.jp>
  parent: Frank A. U. <fau@email.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Hiroshi Inoue @ 2013-07-27 09:34 UTC (permalink / raw)
  To: Frank A. U. <fau@email.com>; +Cc: pgsql-odbc

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

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: UNICODE again
@ 2013-07-27 16:34  Frank A. U. <fau@email.com>
  parent: Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 3+ messages in thread

From: Frank A. U. @ 2013-07-27 16:34 UTC (permalink / raw)
  To: 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
> 
> 
> 




-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2013-07-27 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-07-27 01:50 UNICODE again Frank A. U. <fau@email.com>
2013-07-27 09:34 ` Hiroshi Inoue <inoue@tpf.co.jp>
2013-07-27 16:34   ` Frank A. U. <fau@email.com>

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