Re: How do I change the server encoding?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: How do I change the server encoding?
Дата
Msg-id Pine.LNX.4.44.0302251915090.2581-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: How do I change the server encoding?  (Philippe Kiener <philippe.kiener@eivd.ch>)
Ответы Re: How do I change the server encoding?
Список pgsql-general
Philippe Kiener writes:

> My database should be transform from SQL_ASCII to utf-8
>
> I have added that line to my dumps:
>
> SET CLIENT_ENCODING TO 'SQL_ASCII';
>
> Now when I load the dump into my db, I get that error on tables with text:
>
> psql:tcom-database.sql:7111: ERROR:  copy: line 1, Invalid UNICODE character
> sequence found (0xe96500)

The client encoding SQL_ASCII means that the data will be passed through
unchanged.  Try setting it to LATIN1.

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Dmitry Tkach
Дата:
Сообщение: Compilation errors?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: 7.4?