Re: Unicode display in VB

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Unicode display in VB
Дата
Msg-id EKEJJICOHDIEMGPNIFIJMENLFNAA.Inoue@tpf.co.jp
обсуждение исходный текст
Ответ на Unicode display in VB  (Jean-Michel POURE <jm.poure@freesurf.fr>)
Список pgsql-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

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Jean-Michel POURE
Дата:
Сообщение: Unicode display in VB
Следующее
От: Bruce Momjian
Дата:
Сообщение: [PATCHES] MD5 support for ODBC