Skip site navigation (1) Skip section navigation (2)

Re: [ODBC] Unicode display in VB

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "Jean-Michel POURE" <jm(dot)poure(at)freesurf(dot)fr>, <pgadmin-hackers(at)postgresql(dot)org>
Cc: <dpage(at)vale-housing(dot)co(dot)uk>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: [ODBC] Unicode display in VB
Date: 2001-11-10 01:13:30
Message-ID: EKEJJICOHDIEMGPNIFIJMENLFNAA.Inoue@tpf.co.jp (view raw or flat)
Thread:
Lists: pgadmin-hackerspgsql-odbc
> -----Original Message-----
> From: Jean-Michel POURE
> 
> Dear all,
> 
> I am still trying to figure out how to display Japanese text in pgAdmin2.
> 
> Microsoft Form Two objects and MS Hierarchical Flexgrid Control 6.0 both 
> support Unicode display.

IIRC Unicode fundamentally means UCS-2 not UTF-8 under Windows
whereas in PostgreSQL UNICODE means UTF-8 not UCS-2.
Currently psqlodbc driver doesn't provide the functionality for UCS-2
clients to talk to PostgreSQL servers.
We have to implement pretty many SQLxxxxxW API functions and
handle SQL_C_WCHAR type bindings in psqlodbc drvier to provide
the functionality.
If you are in the Japanese environment, you could talk to UTF-8
servers by setting Connect string as SET CLIENT_ENCODING
to 'SJIS' and display Japanese characters but it doesn't seem
your case.

regards,
Hiroshi Inoue 

In response to

Responses

pgsql-odbc by date

Next:From: Simeo ReigDate: 2001-11-10 20:27:51
Subject: Re: Unicode display in VB
Previous:From: Jean-Michel POUREDate: 2001-11-09 14:48:38
Subject: Unicode display in VB

pgadmin-hackers by date

Next:From: Jean-Michel POUREDate: 2001-11-10 17:29:56
Subject: Diff/Patch integration -> SQL cvs clone
Previous:From: Dave PageDate: 2001-11-09 15:23:16
Subject: Re: Microsoft Forms 2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group