Re: Proposal: Adding JIS X 0213 support - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Proposal: Adding JIS X 0213 support
Date
Msg-id 20070322.135858.04755152.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: Proposal: Adding JIS X 0213 support  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Proposal: Adding JIS X 0213 support  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Proposal: Adding JIS X 0213 support  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
> Tatsuo Ishii <ishii@postgresql.org> writes:
> > I would like to propose adding new character set "JIS X
> > 0213"(http://en.wikipedia.org/wiki/JIS_X_0213).
> > ...
> > Note that since encoding schema of EUC_JIS_2004 is exactly identical
> > to EUC_JP, we can reuse existing encoding routines defined in
> > utls/mb/*.c.
> 
> I'm confused.  If this is exactly the same as EUC_JP, why do we need
> any new code at all?  Why not just a documentation addition saying
> they are the same thing?  Or maybe rename EUC_JP to reflect the new
> standard number (we've certainly renamed encodings before).

I said *encoding schema" is same, not the contents (character set) is
same. In another word, characters included in EUC_JP are not same as
EUC_JIS_2004.

Also, EUC_JIS_2004 is *not* the super set of EUC_JP. So we need to let
EUC_JP and EUC_JIS_2004 coexist.
--
Tatsuo Ishii
SRA OSS, Inc. Japan


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Proposal: Adding JIS X 0213 support
Next
From: Tom Lane
Date:
Subject: Re: Proposal: Adding JIS X 0213 support