• Peter Eisentraut's avatar
    Improve "invalid byte sequence for encoding" message · a2a5ce68
    Peter Eisentraut authored
    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.
    a2a5ce68
wchar.c 35.3 KB