BUG #4098: Encoding problems - Mailing list pgsql-bugs

From Jan-Peter Seifert
Subject BUG #4098: Encoding problems
Date
Msg-id 200804071616.m37GGCa6023752@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4098: Encoding problems
List 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 by date:

Previous
From: "J6M"
Date:
Subject: Re: BUG #4096: PG 8.3.1. confused about remaining disk space
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #4098: Encoding problems