Re: Encoding using the Frontend/Backend Protocol TCP/IP
От | Kovalevski Andrei |
---|---|
Тема | Re: Encoding using the Frontend/Backend Protocol TCP/IP |
Дата | |
Msg-id | 4B057205.6000203@gmail.com обсуждение исходный текст |
Ответ на | Encoding using the Frontend/Backend Protocol TCP/IP (Raimon Fernandez <coder@montx.com>) |
Ответы |
Re: Encoding using the Frontend/Backend Protocol TCP/IP
|
Список | pgsql-general |
Hi could it be that you have errors in your UTF8 string? For example you might use UTF16 encoding, it can explain why some characters force errors but others are not. Can you post here the string and its' encoded version? Raimon Fernandez wrote: > Hello, > > > I'm trying to send some strings that have chars outside from standar ascii, like çñàèó > > Once I'm connected, the client and server both uses UT8Encoding. > > And I'm sending all the strings encoded in UTF8. > > At least the received ones are working, as I get the text exactly as it is, with special chars. > > But when I'm trying to update a row using some of them, I'm getting an error: > > ERROR > 08P01 > Invalid string in message > pqformat.c > 691 > pq_getmstring > Invalid Front End message type 0 > postgres.c > 408 > socketbackend > you have been disconected > > How should I encode ???? > > > thanks, > > regards, > > > r. > >
В списке pgsql-general по дате отправления: