BUG #4098: Encoding problems

Поиск
Список
Период
Сортировка
От Jan-Peter Seifert
Тема BUG #4098: Encoding problems
Дата
Msg-id 200804071616.m37GGCa6023752@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4098: Encoding problems  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4098
Logged by:          Jan-Peter Seifert
Email address:      Jan-Peter.Seifert@gmx.de
PostgreSQL version: 8.2
Operating system:   Windows xp
Description:        Encoding problems
Details:

The encoding of the source db/server is LATIN1. The data type of the field
is text (The storage mode is extended). It's/was possible to add characters
available in CP1252 but not in LATIN1 like the Euro character (code 80).
When exporting to UTF8 via "pg_dump -o -U postgres -E UTF-8 ..." (iconv?) it
just adds the character with the code "C2" before the Euro character in the
dump. When importing the dump to a server/db with CP1252 it just throws an
error because of the inconvertible character (0xc280) and seems to stop with
no further error messages (at least the whole table in question is empty
although filled in the source db). It wasn't an issue before the
restrictions were put in place, because the C locale is insufficient.

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

Предыдущее
От: "J6M"
Дата:
Сообщение: Re: BUG #4096: PG 8.3.1. confused about remaining disk space
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #4098: Encoding problems