Re: Unicode conversion issue

Поиск
Список
Период
Сортировка
От Benjamin Riefenstahl
Тема Re: Unicode conversion issue
Дата
Msg-id m3smggj4en.fsf@seneca.benny.turtle-trading.net
обсуждение исходный текст
Ответ на Unicode conversion issue  (Al Cohen <amc79@no.junk.please.cornell.edu>)
Список pgsql-odbc
Hi Al,


Al Cohen <amc79@no.junk.please.cornell.edu> writes:
> For starters, I'm wondering if someone can help me to understand
> just what the standard psqlODBC is returning to my C# application
> when I read a unicode string?

From the PostgreSQL side I use the statement

  SET CLIENT_ENCODING TO 'UNICODE'

just after connection to tell it to give me UTF-8.  You could use
other encodings, see the documentation.

From the other side I don't know that C# expects here, you'd have to
check its ODBC bindings.  It may expect the local 8-bit codepage by
default.


benny


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

Предыдущее
От: "Markus Wollny"
Дата:
Сообщение: Re: Oracle Dev2000 using PostgreSQL as Database
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Win98 client connection problem (was THANK YOU)