| От | Tom Lane |
|---|---|
| Тема | Re: What encoding to use for this error? |
| Дата | |
| Msg-id | 26801.1112806028@sss.pgh.pa.us обсуждение |
| Ответ на | What encoding to use for this error? (Patrick Hatcher <pathat@comcast.net>) |
| Ответы |
Re: What encoding to use for this error?
|
| Список | pgsql-general |
Patrick Hatcher <pathat@comcast.net> writes:
> We're testing moving our data to UNICODE from LATIN1, but when I try to
> import my data, I get the following error:
> DBD::Pg::st execute failed: ERROR: Unicode characters greater than or
> equal to
> 0x10000 are not supported
> CONTEXT: COPY bcp_mdc_products, line 120, column description: "Lladr�
> "Ducks in
> a Basket""
Do you have client_encoding set properly while doing the import?
If the incoming data is LATIN1, you need to say so, so that the backend
knows how to convert it to UNICODE.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера