| От | Peter Eisentraut |
|---|---|
| Тема | Re: Copying into Unicode - Correcting Errors |
| Дата | |
| Msg-id | 200411241119.44894.peter_e@gmx.net обсуждение |
| Ответ на | Copying into Unicode - Correcting Errors (Hunter Hillegas <lists@lastonepicked.com>) |
| Ответы |
Re: Copying into Unicode - Correcting Errors
|
| Список | pgsql-general |
Hunter Hillegas wrote: > I need to import a file into a Unicode database. > > I am getting an error: > > ERROR: Unicode characters greater than or equal to 0x10000 are not > supported > CONTEXT: COPY mailing_list_entry, line 30928, column > first_last_name: "Ver?nica" If your file really does have Unicode characters greater than or equal to 0x10000, then I don't have a good answer. But more often, this error means that your file is not in Unicode in the first place. If so, set the client encoding to the real encoding of your file, e.g. export PGCLIENTENCODING=LATIN1 -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера