Re: encoding problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sergio Medina" <sergioluismedina(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: encoding problem
Date: 2010-11-30 21:15:36
Message-ID: 4181.1291151736@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Sergio Medina" <sergioluismedina(at)gmail(dot)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 vlida para codificacin 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Sergio Medina 2010-11-30 21:22:48 RV: encoding problem
Previous Message Sergio Medina 2010-11-30 20:49:10 encoding problem