Re: charset/collation in values - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: charset/collation in values
Date
Msg-id 20041103.151017.45517473.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: charset/collation in values  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> Dennis Bjorklund wrote:
> > The named entity that is called a collation works for a character
> > repertoire. It would need to handle different charsets for that
> > repertoire of course. So there would be one collation called say
> > ucs_sv and not utf8_sv, utf16_sv, utf32_sv.
> 
> Again, theoretically, this might work, but I doubt that this is a 
> practical implementation.  Moreover, since Unicode is more or less the 
> only chararacter repertoire that have more than one encoding in use, 
> and neither UTF-16 nor UTF-32 can be used inside the PostgreSQL server 
> (embedded zero bytes etc.), this is really a nonissue.

I agree with Peter.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: psql and schemas
Next
From: Carlos Ojea Castro
Date:
Subject: Re: Unable to load libsqlpg.so