pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: egashira.yusuke@fujitsu.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17611: SJIS conversion rule about duplicated characters differ from Windows
Date: Thu, 08 Sep 2022 22:58:31 -0400
Message-ID: <5964.1662692311@sss.pgh.pa.us> (raw)
In-Reply-To: <20220909.114216.2263659117945873025.horikyota.ntt@gmail.com>
References: <17611-472d27cf395135b7@postgresql.org>
	<20220909.114216.2263659117945873025.horikyota.ntt@gmail.com>

Kyotaro Horiguchi <horikyota.ntt@gmail.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





view thread (6+ messages)  latest in thread

Message-ID: <5964.1662692311@sss.pgh.pa.us>
Permalink:  ../5964.1662692311@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5964.1662692311@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, horikyota.ntt@gmail.com, egashira.yusuke@fujitsu.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17611: SJIS conversion rule about duplicated characters differ from Windows
  In-Reply-To: <5964.1662692311@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox