confusing invalid UTF8 byte sequence error

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: confusing invalid UTF8 byte sequence error
Date: 2011-08-28 12:04:43
Message-ID: 1314533083.4516.4.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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-bit word (endianness?) or
who knows what.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-08-28 15:35:33 Re: spinlocks on HP-UX
Previous Message Dean Rasheed 2011-08-28 09:59:12 Re: Inputting relative datetimes