Improve "invalid byte sequence for encoding" message
Peter Eisentraut <peter_e@gmx.net>
Improve "invalid byte sequence for encoding" message It used to say ERROR: invalid byte sequence for encoding "UTF8": 0xdb24 Change this to ERROR: invalid byte sequence for encoding "UTF8": 0xdb 0x24 to make it clear that this is a byte sequence and not a code point. Also fix the adjacent "character has no equivalent" message that has the same issue.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mb/wchar.c | modified | +14 −6 |