Re: BUG #2685: Wrong charset of server messages on client - Mailing list pgsql-bugs

From Sergiy Vyshnevetskiy
Subject Re: BUG #2685: Wrong charset of server messages on client
Date
Msg-id Pine.LNX.4.64.0610101907220.24630@uanet.vostok.net
Whole thread Raw
In response to BUG #2685: Wrong charset of server messages on client [PATCH]  ("Sergiy Vyshnevetskiy" <serg@vostok.net>)
Responses Re: BUG #2685: Wrong charset of server messages on client  (Sergiy Vyshnevetskiy <serg@vostok.net>)
Re: BUG #2685: Wrong charset of server messages on client [PATCH]  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Tue, 10 Oct 2006, Sergiy Vyshnevetskiy wrote:

> On Tue, 10 Oct 2006, Tom Lane wrote:
>
>>  "Sergiy Vyshnevetskiy" <serg@vostok.net> writes:
>> >  Convert server messages to database charset.
>>
>>  This has been discussed before:
>>  http://archives.postgresql.org/pgsql-patches/2005-08/msg00245.php
>>
>>  The magic pg_enc2iananame_tbl[] you reference in your patch does not
>>  exist,
>>  and if it did exist it wouldn't work on all platforms, since encoding
>>  names aren't sufficiently well standardized :-(
>
> It's not magic, it's from ICU patch. Want me to send you a copy? :)

Sorry. I thought it was more well-known. Just looked into gentoo portage -
they don't know about it eigther.

The patch is here:

http://people.freebsd.org/~girgen/postgresql-icu/pg-814-icu-xx-2006-09-25.diff.gz

This is the current list of encodings, according to iana:

http://www.iana.org/assignments/character-sets

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2684: Memory leak in libpq
Next
From: Sergiy Vyshnevetskiy
Date:
Subject: Re: BUG #2685: Wrong charset of server messages on client