| От | Alvaro Herrera |
|---|---|
| Тема | Re: invalid UTF-8 byte sequences and iconv |
| Дата | |
| Msg-id | 20060725192937.GC21005@surnet.cl обсуждение |
| Ответ на | invalid UTF-8 byte sequences and iconv (Karen Springer <karen.springer@wulfsberg.com>) |
| Список | pgsql-admin |
Karen Springer wrote: > Hi, > > We have set up a new server and are needing to move our database from > 7.3 to 8.1.4. On restore I'm getting the 'invalid UTF-8 byte sequence' > error message. If I use the command iconv -c -f UTF-8 -t UTF-8 -o > cleanfile.sql dumpfile.sql, then the characters are deleted and the > restore goes smoothly. The problem is that we want those characters. > They are for example the degree symbol and the micro symbol. Is there > anyway to bring these characters over? Thanks in advance. Huh, maybe using the real source encoding instead? Try, for example, using Latin-1. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера