From: | Kovalevski Andrei <kovalevski(dot)andrei(at)gmail(dot)com> |
---|---|
To: | Raimon Fernandez <coder(at)montx(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Encoding using the Frontend/Backend Protocol TCP/IP |
Date: | 2009-11-19 16:27:49 |
Message-ID: | 4B057205.6000203@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-interfaces |
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.
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Sam Mason | 2009-11-19 17:11:09 | Re: obtaining ARRAY position for a given match |
Previous Message | Pavel Stehule | 2009-11-19 16:24:33 | Re: obtaining ARRAY position for a given match |
From | Date | Subject | |
---|---|---|---|
Next Message | Raimon Fernandez | 2009-11-19 17:13:42 | Re: Encoding using the Frontend/Backend Protocol TCP/IP |
Previous Message | Raimon Fernandez | 2009-11-19 16:05:35 | Encoding using the Frontend/Backend Protocol TCP/IP |