utf8 issue - Mailing list pgsql-general

From Tom Hart
Subject utf8 issue
Date
Msg-id 47C46B29.9050507@coopfed.org
Whole thread Raw
Responses Re: utf8 issue
Re: utf8 issue
List pgsql-general
Hello everybody. I recently converted my db from ASCII encoding to UTF8
(we have a lot of spanish-speaking members, and need the extra character
support). Everything was working great, but I noticed this error, while
trying to COPY one of our tables from a csv.

ERROR: invalid byte sequence for encoding "UTF8": 0xb9
SQL state: 22021
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".
Context: COPY transaction_import, line 59358

Is there anything I can do to look for these sorts of errors and fix
them? I'm really not great with character encodings and I'm not sure
where to go on this. Any help?

--
Tom Hart
IT Specialist
Cooperative Federal
723 Westcott St.
Syracuse, NY 13210
(315) 471-1116 ext. 202
(315) 476-0567 (fax)


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: how to auto GRANT custom ACL on a new table?
Next
From: "Kynn Jones"
Date:
Subject: How to copy tables between databases?