From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Grand, Mark D(dot)" <mgrand(at)emory(dot)edu> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: invalid byte sequence for encoding "UTF8": 0xab |
Date: | 2009-06-05 13:57:51 |
Message-ID: | 3213.1244210271@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Grand, Mark D." <mgrand(at)emory(dot)edu> writes:
> ... I get this message:
> ERROR: invalid byte sequence for encoding "UTF8": 0xab
> HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".
> It is complaining about the '<' character. I do not understand why.
The ASCII code for '<' is 0x3c, not 0xab. I am not sure what you are
actually typing; although it's suggestive that the LATIN1 code 0xab
corresponds to a symbol that looks approximately like '<<'. The most
likely bet is that you are typing the wrong thing and using a terminal
emulator that is not set to generate UTF8-encoded characters. You
should try to make sure that client_encoding is set to match what your
keyboard actually generates.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2009-06-05 14:35:58 | Re: Move PGdata to a different drive |
Previous Message | Rafal Pietrak | 2009-06-05 13:52:02 | Re: sequences and RULEs |