Re: 22021: invalid byte sequence for encoding \"UNICODE\":

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: 22021: invalid byte sequence for encoding \"UNICODE\":
Дата
Msg-id 418286FD.9080204@pse-consulting.de
обсуждение исходный текст
Ответ на 22021: invalid byte sequence for encoding \"UNICODE\": 0xe16d61"  ("Lucas Sultanum" <lucas.sultanum@gcf.com.br>)
Список pgsql-bugs
Lucas Sultanum wrote:
>
> I am not sure if this is a bug or I am doing something wrong. When I
> execute the following command (*insert into a_cadclias values
> ('6542','65465','amaro','ámaro')*)  on pgAdmin III Query it works pretty
> well, but when I try to do the same through a C# App connecting to the
> database through an ODBC driver I get the following error:
>
> *"ERROR: 22021: invalid byte sequence for encoding \"UNICODE\": 0xe16d61"*

Sounds as if you're not using the correct client encoding; your app is
probably non-unicode, but you're using client encoding Unicode.

Regards,
Andreas

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Dropdb, Win32 Problem
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Insertion Deferrable