Re: encoding problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: encoding problem
Дата
Msg-id 4181.1291151736@sss.pgh.pa.us
обсуждение исходный текст
Ответ на encoding problem  ("Sergio Medina" <sergioluismedina@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Sergio Medina"
Дата:
Сообщение: encoding problem
Следующее
От: "Sergio Medina"
Дата:
Сообщение: RV: encoding problem