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