Re: [HACKERS] confusing invalid UTF8 byte sequence error

2011-08-29 Thread Robert Haas
On Mon, Aug 29, 2011 at 11:03 AM, Valentine Gogichashvili wrote: >> Has anyone else ever found this error message confusing: >> ERROR:  22021: invalid byte sequence for encoding "UTF8": 0xdb24 >> I think what is really meant is better expressed like this: >> ERROR:  22021: invalid byte sequence fo

Re: [HACKERS] confusing invalid UTF8 byte sequence error

2011-08-29 Thread Valentine Gogichashvili
> > Has anyone else ever found this error message confusing: > ERROR: 22021: invalid byte sequence for encoding "UTF8": 0xdb24 > I think what is really meant is better expressed like this: > ERROR: 22021: invalid byte sequence for encoding "UTF8": 0xdb 0x24 > Otherwise it looks like a codepoint o

[HACKERS] confusing invalid UTF8 byte sequence error

2011-08-28 Thread Peter Eisentraut
Has anyone else ever found this error message confusing: ERROR: 22021: invalid byte sequence for encoding "UTF8": 0xdb24 I think what is really meant is better expressed like this: ERROR: 22021: invalid byte sequence for encoding "UTF8": 0xdb 0x24 Otherwise it looks like a codepoint or a 16-b