Re: BUG #2685: Wrong charset of server messages on client

From: Sergiy Vyshnevetskiy <serg(at)vostok(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2685: Wrong charset of server messages on client
Date: 2006-10-10 16:11:03
Message-ID: Pine.LNX.4.64.0610101907220.24630@uanet.vostok.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, 10 Oct 2006, Sergiy Vyshnevetskiy wrote:

> On Tue, 10 Oct 2006, Tom Lane wrote:
>
>> "Sergiy Vyshnevetskiy" <serg(at)vostok(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sergiy Vyshnevetskiy 2006-10-10 16:16:23 Re: BUG #2685: Wrong charset of server messages on client
Previous Message Sergiy Vyshnevetskiy 2006-10-10 15:57:35 Re: BUG #2685: Wrong charset of server messages on client