Re: Re: [NOVICE] Problems with ñ and tildes / CSV import problems in PostgreSQL 9.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: [NOVICE] Problems with ñ and tildes / CSV import problems in PostgreSQL 9.1
Дата
Msg-id 13305.1360253727@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: [NOVICE] Problems with ñ and tildes / CSV import problems in PostgreSQL 9.1  (Ken Benson <ken@infowerks.com>)
Ответы Re: [NOVICE] Re: [NOVICE] Problems with ñ and tildes / CSV import problems in PostgreSQL 9.1  (Zach Seaman <znseaman@gmail.com>)
Список pgsql-novice
Ken Benson <ken@infowerks.com> writes:
> So - the problem may be that /*truly**0x e1 73 71*/ is not a valid UTF-8
> character in the current iteration of PostgreSQL - or at all.

Of course it isn't, which is why Postgres is complaining.  Presumably
what that data really is is three characters (looks like "�sq") in
LATIN1.  But Postgres is trying to interpret it in UTF8.  As mentioned
upthread, the solution is to adjust the client_encoding setting before
running the COPY command.

            regards, tom lane


В списке pgsql-novice по дате отправления:

Предыдущее
От: Zach Seaman
Дата:
Сообщение: Re: [NOVICE] Problems with ñ and tildes / CSV import problems in PostgreSQL 9.1
Следующее
От: Zach Seaman
Дата:
Сообщение: Re: [NOVICE] Re: [NOVICE] Problems with ñ and tildes / CSV import problems in PostgreSQL 9.1