Re: encoding problem - Mailing list pgsql-novice

From Tom Lane
Subject Re: encoding problem
Date
Msg-id 4181.1291151736@sss.pgh.pa.us
Whole thread Raw
In response to encoding problem  ("Sergio Medina" <sergioluismedina@gmail.com>)
List pgsql-novice
"Sergio Medina" <sergioluismedina@gmail.com> writes:
> I have a server with utf8 encoding, but trying to copy a csv file containing
> characters like �,�,�,�,� in rows throws the next error.

> ERROR: secuencia de bytes no v�lida para codificaci�n UTF8 0xf327

Well, it's right: that's not UTF8.  It looks like it might be LATIN1.
Figure out what encoding your data is really in, and then set
client_encoding to that before trying to load the CSV file.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Sergio Medina"
Date:
Subject: encoding problem
Next
From: "Sergio Medina"
Date:
Subject: RV: encoding problem