Re: Converting an ASCII database to an UTF-8 database

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Converting an ASCII database to an UTF-8 database
Дата
Msg-id 200602181106.18338.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Converting an ASCII database to an UTF-8 database  (Rick Gigger <rick@alpinenetworking.com>)
Список pgsql-general
Rick Gigger wrote:
> I have this exact problem.  I have dumped and reloaded other
> databases and set the client encoding to convert them to UTF-8 but I
> have one database with values that still cause it to fail, even if I
> specify that the client encoding is SQL_ASCII.  How do I fix that?

Well then you need to figure out what encoding those non-ASCII
characters actually are and set the client encoding to that.  Trying
LATIN1 might be a good start, but if you users/applications have
inserted random bytes then you will have to sort it out by hand.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Converting an ASCII database to an UTF-8 database
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: TSearch2 / German compound words / UTF-8