Re: Encoding and Conversion Question(s)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Encoding and Conversion Question(s)
Дата
Msg-id 11132.1124130650@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Encoding and Conversion Question(s)  (Dave Lazar <hunkybill@gmail.com>)
Список pgsql-general
Dave Lazar <hunkybill@gmail.com> writes:
> I have a database that was created with the encoding set to SQL_ASCII.
> A lot of data comes with accented characters.

You need to figure out what encoding that data is actually in (hint:
it's not ASCII) and specify that encoding as the client_encoding in
the restore script.  Postgres will then be able to convert the data
to UTF-8 correctly.

If the data is actually all in one encoding, this shouldn't be too
painful.  If it's in a mishmash of different encodings, you are in
for some pain getting things fixed up :-(

            regards, tom lane

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

Предыдущее
От: CSN
Дата:
Сообщение: Re: Apostrophe doesn't show up in command line
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: [despammed] Re: ~/pgpass