Re: Multibyte support in oracle_compat.c - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Multibyte support in oracle_compat.c
Date
Msg-id 20020906.102139.78706881.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: Multibyte support in oracle_compat.c  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> GNU gettext does its own encoding conversion.  It reads the program's
> character encoding from the LC_CTYPE locale and converts the material in
> the translation catalogs on the fly for output.  This is great in general,
> really, but for the postmaster it's a problem.  If LC_CTYPE is fixed for
> the cluster and you later on change your mind about the message language
> the it will be recoded into the character set that LC_CTYPE says.  And if
> that character set does not match the one that is set as the backend
> encoding internally then who knows what will happen when this stuff is
> recoded again as it's sent to the client.  Big, big mess.

Then in another word, it's completely broken. Sigh.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: I am done
Next
From: Tom Lane
Date:
Subject: Re: Add check constraint bug