Re: Transcoding problem with wine and unixodbc

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Transcoding problem with wine and unixodbc
Дата
Msg-id 536117F3.5060700@aklaver.com
обсуждение исходный текст
Ответ на Re: Transcoding problem with wine and unixodbc  (Pierre Couderc <pierre@couderc.eu>)
Ответы Re: Transcoding problem with wine and unixodbc  (Pierre Couderc <pierre@couderc.eu>)
Список pgsql-odbc
On 04/30/2014 07:36 AM, Pierre Couderc wrote:
> Thank you. I comment.


>>
> As expected by me, as pgAdminIII, psql prints correctly.

Just to be clear where are you connecting from with psql?


>> ANSI is a general term. What is important is what character
>> set(encoding) you are actually using in your application.
>>
> LATIN1 (ISO-8859-1),

Well that should work with the Unicode driver. My guess is there is some
sort of confusion of what the encoding is between the app - psqlodbc -
Postgres.

Is the database you are using only used by your application?

If it is, one possible troubleshooting method would be to set
client_encoding in postgresql.conf to latin1.  This will affect all the
clients connecting to your database, so use with care. For more
information see below:

http://www.postgresql.org/docs/9.3/interactive/runtime-config-client.html#RUNTIME-CONFIG-CLIENT-FORMAT

http://www.postgresql.org/docs/9.3/interactive/multibyte.html#MULTIBYTE-CHARSET-SUPPORTED





>>> And I do not know who is responsible for translation, normally it should
>>> be the unixodbc or psqlodbc..
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Pierre Couderc
Дата:
Сообщение: Re: Transcoding problem with wine and unixodbc
Следующее
От: Malcolm MacLeod
Дата:
Сообщение: CC_send_query_append crash