Re: utf8 errors
От | Adrian Klaver |
---|---|
Тема | Re: utf8 errors |
Дата | |
Msg-id | 51C9EF7D.4040904@gmail.com обсуждение исходный текст |
Ответ на | utf8 errors (Jiří Pavlovský <jiri@pavlovsky.eu>) |
Список | pgsql-general |
On 06/25/2013 12:18 PM, Jiří Pavlovský wrote: > Hello, > > I have a win32 application. It uses gtk for GUI and postgres. Recently I > upgraded to newer gtk and postgres 9.2. I'm now getting utf8 errors from > postgres. > The thing I don't understand that the queries, which postgres complains > about, seem to be perfectly valid. > > For example > LOG: statement: INSERT INTO recipients (DealID, > Contactid) VALUES (29009, 9387) > ERROR: invalid byte sequence for encoding "UTF8": 0x9c > > > But the query is clean ascii and it doesn't even contain the mentioned > character. > > My database is in UNICODE, client encoding is utf8. At a guess your client encoding is actually some form of WINXXXX, most likely WIN1252. > > So I'm stuck not knowing where to look for a problem. > > Thank you, > Jiri > -- Adrian Klaver adrian.klaver@gmail.com
В списке pgsql-general по дате отправления: