Re: Proposal: Adding JIS X 0213 support

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: ishii(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal: Adding JIS X 0213 support
Date: 2007-03-22 04:58:24
Message-ID: 20070322.135824.119878454.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Tatsuo Ishii <ishii(at)postgresql(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2007-03-22 04:58:58 Re: Proposal: Adding JIS X 0213 support
Previous Message Tom Lane 2007-03-22 04:50:20 Re: Proposal: Adding JIS X 0213 support