Re: Proposal: Adding JIS X 0213 support

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal: Adding JIS X 0213 support
Date: 2007-03-22 04:58:58
Message-ID: 20070322.135858.04755152.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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message TANIDA Yutaka 2007-03-22 05:03:17 "Relation not found" error but table exits.
Previous Message Tatsuo Ishii 2007-03-22 04:58:24 Re: Proposal: Adding JIS X 0213 support