Re: BUG #17611: SJIS conversion rule about duplicated characters differ from Windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: egashira(dot)yusuke(at)fujitsu(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17611: SJIS conversion rule about duplicated characters differ from Windows
Date: 2022-09-09 02:58:31
Message-ID: 5964.1662692311@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: Postg스포츠 토토 결과SQL : Postg스포츠 토토 결과SQL 메일 링리스트 : 2022-09-09 이후 PGSQL-BUGS 02:58

Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> writes:
> This is not a bug, but the designed behavior. But we could change that
> conversion table if a plausible reasoning is raised.

Given how long our current behavior has stood, I think it'd have to be
a pretty convincing argument. As you say, there'd be some serious
compatibility costs to changing that behavior.

IIUC, SJIS<->Unicode conversions have always been a squishy thing
because of inconsistencies between the various versions of "SJIS".
I'm not seeing a good reason we should regard Windows' behavior as
authoritative here.

I'm not saying I can't be convinced, but "Microsoft does it that
way" isn't enough to convince me.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Frank van Vugt 2022-09-09 06:21:46 v15b4 shadowbuild fails when using src from symlink
Previous Message Kyotaro Horiguchi 2022-09-09 02:42:16 Re: BUG #17611: SJIS conversion rule about duplicated characters differ from Windows