Re: \COPY to accept non UTF-8 chars in CHAR columns

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: \COPY to accept non UTF-8 chars in CHAR columns
Дата
Msg-id 87ftdta0qs.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: \COPY to accept non UTF-8 chars in CHAR columns  (Rory Campbell-Lange <rory@campbell-lange.net>)
Ответы Re: \COPY to accept non UTF-8 chars in CHAR columns
Список pgsql-general
>>>>> "Rory" == Rory Campbell-Lange <rory@campbell-lange.net> writes:

 Rory> Or:

 Rory>     iconv -f WINDOWS-1252 -t UTF-8 -c < tempfile2 > tempfile3

No. That's just a conversion of win1252 to utf8 without regard for any
UTF8 that might already be present in the input. Any such input will end
up double-encoded, requiring further work to fix.

-- 
Andrew (irc:RhodiumToad)



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

Предыдущее
От: Rory Campbell-Lange
Дата:
Сообщение: Re: \COPY to accept non UTF-8 chars in CHAR columns
Следующее
От: Rory Campbell-Lange
Дата:
Сообщение: Re: \COPY to accept non UTF-8 chars in CHAR columns