Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pc4Za-00058A-Ug for pgsql-general@arkaria.postgresql.org; Tue, 14 Mar 2023 13:20:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pc4ZZ-0005Od-PU for pgsql-general@arkaria.postgresql.org; Tue, 14 Mar 2023 13:20:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pc4ZZ-0005OT-BC for pgsql-general@lists.postgresql.org; Tue, 14 Mar 2023 13:20:13 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pc4ZV-0004WL-UK for pgsql-general@postgresql.org; Tue, 14 Mar 2023 13:20:12 +0000 Received: by mail-pj1-x102f.google.com with SMTP id j3-20020a17090adc8300b0023d09aea4a6so6015657pjv.5 for ; Tue, 14 Mar 2023 06:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678800008; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=kMWbLtXgu/8gfGwiwMwKfF28vlubC+UZG/iWlOwKNrw=; b=b3Uf0Q+AH/6J8NRXIyrciKmYIxKQ0/UhBMdikdhUFdbDN37SmarnFLzBR88sEFLOS3 n+C+arf8wqDw9nlWOd38t3trDNltHqkQO3ghLH4yt6X1pyMjFdF9W6dMgcMzyVbRG16L r8Rbb9cr0qPl9gsAL3eVq+6t0iK5/Yb0Vo+L84QOR7gsmpZONFoRD2nrHQQLXENzI+OU ONxXDMBhPO/sa8w/+9KfkF8bsEaRtrzUxaG4MNBtoz9y4Y+xIinkPDIoDB1Vu7NczJIO ZOkb6BnKLnbLcasSNU/JQ7KJ/31Ohz5moFMs2nMAjbcagpdVxytvJ8PGq82hugsnQHKf 1yhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678800008; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kMWbLtXgu/8gfGwiwMwKfF28vlubC+UZG/iWlOwKNrw=; b=1M3Qwu+bn6KfqSyN/xdD/DH8PWRZPc+lGqkn9o+gPq5NE/ohPp1TDq9gEE3aDR/1RQ 77FR02BHDoyb7/7tJI0OwoWy9NiVcz0WIy6hO8pkLnDb/cxFVrmPrHMITBThH5knxVp3 qIboUeILE87f5WYNhZXmGLj6AgNxX5ECjn2cOLEMbzZnHhhS+YBfdJQwcHxSYFNZgHDd O15cJaIBRrJuHCYdN+8Hbb6xA1lV6gWzS6K7GSm4sTF5Kc5X5r4FehiaePHmuhxX2ApH B7l9zxlg0KXktzUVqZUmrxk+On2dtP66aIciToyLkWc/t845LJgV20V2o0hFJhcP54by H1og== X-Gm-Message-State: AO0yUKXvlumXZ72/sIVPfaUBZms/hJ4PJBfp2dLvDges0CJF4bpzuQim xL9ust0UjY4doZ7c+5VIa24= X-Google-Smtp-Source: AK7set8Ls4x0nZrYvGH/gbIaIowbwcQpBNhr1zFywgBndocutxvm+mPUhj0/ia+KyI/0DL8uobsmBw== X-Received: by 2002:a17:90a:2c2:b0:229:544b:2c7c with SMTP id d2-20020a17090a02c200b00229544b2c7cmr37805723pjd.29.1678800007621; Tue, 14 Mar 2023 06:20:07 -0700 (PDT) Received: from smtpclient.apple ([132.147.78.35]) by smtp.gmail.com with ESMTPSA id cm12-20020a17090afa0c00b0023c8a23005asm1671819pjb.49.2023.03.14.06.20.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Mar 2023 06:20:06 -0700 (PDT) From: Kip Cole Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_94B42E54-F46A-440B-87FB-EA4544F6EA84" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: =?utf-8?Q?Re=3A_Uppercase_version_of_=C3=9F_desired?= Date: Tue, 14 Mar 2023 21:20:03 +0800 In-Reply-To: <05800C0F-FCDE-4269-BFD7-D5B7740C5B68@americanefficient.com> Cc: Celia McInnis , pgsql-general To: Philip Semanchuk References: <05800C0F-FCDE-4269-BFD7-D5B7740C5B68@americanefficient.com> X-Mailer: Apple Mail (2.3696.80.82.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_94B42E54-F46A-440B-87FB-EA4544F6EA84 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 The relevant Unicode reference is = https://unicode.org/faq/casemap_charprop.html#11 Which basically says that since Unicode 5.0 (its now at Unicode 15.0) = stability is guaranteed and the upper-casing to (U+1E9E =E1=BA=9E LATIN = CAPITAL LETTER SHARP S) is optional. > On 14 Mar 2023, at 9:12 pm, Philip Semanchuk = wrote: >=20 >=20 >=20 >> On Mar 13, 2023, at 5:38 PM, Celia McInnis = wrote: >>=20 >> HI: >>=20 >> I would be really happy if postgresql had an upper case version of = the =C3=9F german character. The wiki page=20 >> https://en.wikipedia.org/wiki/%C3%9F >>=20 >> indicates that the capital (U+1E9E =E1=BA=9E LATIN CAPITAL LETTER = SHARP S) was encoded by ISO 10646 in 2008. >>=20 >> BTW the reason that I'd like upper('=C3=9F') to give something = different than '=C3=9F' is because I have written a simple substitution = puzzle for a large number of languages where I show the encrypted lower = case words in upper case and the successful letter substitution = submissions in lower case - so I need the upper and lower case versions = of each letter to be different! >>=20 >> Thanks for any assistance! Maybe I can hack what I want in python = (which is what I am using for the puzzle). >=20 > Hi Celia, > I ran into this too back when we were transitioning from Python 2 to 3 = (2 behaved differently from 3). While researching it I discovered this = Python issue which maybe sheds some additional light on the subject: = https://github.com/python/cpython/issues/74993 = >=20 > We ultimately found 90 characters that (under Python 3) grew longer = when uppercased.=20 >=20 > python -c "print([c for c in range(0x80, 0x22ff) if len(chr(c)) !=3D = len(chr(c).upper())])=E2=80=9D >=20 >=20 > I hope this is at least interesting. :-) >=20 > Cheers > Philip --Apple-Mail=_94B42E54-F46A-440B-87FB-EA4544F6EA84 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 The = relevant Unicode reference is https://unicode.org/faq/casemap_charprop.html#11

Which basically says = that since Unicode 5.0 (its now at Unicode 15.0) stability is guaranteed = and the upper-casing to  (U+1E9E =E1=BA=9E LATIN CAPITAL LETTER = SHARP S)  is optional.

On 14 Mar 2023, at 9:12 pm, Philip Semanchuk = <philip@americanefficient.com> wrote:



On Mar 13, 2023, at 5:38 PM, Celia = McInnis <celia.mcinnis@gmail.com> wrote:

HI:

I would be really happy if = postgresql  had an upper case version of the =C3=9F german = character. The wiki page 
https://en.wikipedia.org/wiki/%C3%9F

indicates that the capital (U+1E9E =E1=BA=9E LATIN CAPITAL = LETTER SHARP S) was encoded by ISO 10646 in 2008.

BTW the reason that I'd like upper('=C3=9F') to give = something different than '=C3=9F'  is because I have written a = simple substitution puzzle for a large number of languages where I show = the encrypted lower case words in upper case and the successful letter = substitution submissions in lower case - so I need the upper and lower = case versions of each letter to be different!

Thanks for any assistance! Maybe I can hack what I want in = python (which is what I am using for the puzzle).

Hi Celia,
I ran into this too back when we were transitioning from = Python 2 to 3 (2 behaved differently from 3). While researching it I = discovered this Python issue which maybe sheds some additional light on = the subject: https://github.com/python/cpython/issues/74993

We ultimately found 90 = characters that (under Python 3) grew longer when uppercased. 

python -c "print([c for c in = range(0x80, 0x22ff) if len(chr(c)) !=3D = len(chr(c).upper())])=E2=80=9D


I hope this is at least interesting. :-)

Cheers
Philip

= --Apple-Mail=_94B42E54-F46A-440B-87FB-EA4544F6EA84--