Re: Server-side support of all encodings - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Server-side support of all encodings
Date
Msg-id 20070326.193445.18308031.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: Server-side support of all encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> > Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Backend encodings must have the property
> >> that all bytes of a multibyte character are >= 128.
> 
> > But then, PG_JOHAB have already infringed it. Please see johab_to_utf8.map.
> > Trailing bytes of JOHAB can be less than 128.
> 
> In that case we must remove JOHAB from the list of allowed server
> encodings.  Tatsuo, can you comment on whether this is correct?

Sigh. From the first day when JOHAB was supported (back to 7.3 days),
it should had not been in the server encodings. JOHAB's second byte
definitely contain 0x41 and above. *johab*.map just reflect the
fact. I think we should remove JOHAB from the server encodings list.
I'm afraid users who have JOHAB encoded databases get angry, though.
--
Tatsuo Ishii
SRA OSS, Inc. Japan


pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: tsearch2 regression test failures
Next
From: Heikki Linnakangas
Date:
Subject: Group Commit