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 1pc4S4-0004rE-TI for pgsql-general@arkaria.postgresql.org; Tue, 14 Mar 2023 13:12:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pc4S3-0000PA-Pc for pgsql-general@arkaria.postgresql.org; Tue, 14 Mar 2023 13:12:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pc4S3-0000NT-BF for pgsql-general@lists.postgresql.org; Tue, 14 Mar 2023 13:12:27 +0000 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pc4S0-0000sK-Nk for pgsql-general@postgresql.org; Tue, 14 Mar 2023 13:12:26 +0000 Received: by mail-qv1-xf2c.google.com with SMTP id y3so10724632qvn.4 for ; Tue, 14 Mar 2023 06:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=americanefficient-com.20210112.gappssmtp.com; s=20210112; t=1678799543; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WdtZV8AwtocgK4sKHmvk06gekWwXXmwztdIl74BNRSU=; b=XriynqfpawVVBo+hwx3UHE9TFt1vyuzVGUAWJ8OmQMSFCvta3hx9TJnKrc+YgbovS8 Qp3Qtg8JT21/ryP19H0hhZlxhrfveU9gzMJx01Uc+A7fkd2JLzlzY6Fm4G/ms3LTwibS ri/vEBbNbDTkwEP0ff6A4bTk4CqXmV+7bTjCkS/08jEfs4dvi0flYtzjrEHBrNvPe+n0 5OJ4SjA/zA8AICPK0H7UL4JeFKooISAGZEWfI0E5l+MGuL6Us1hbj4YI6EeXbXQd7Pd0 NuARDshc32ztYSrLkae1SeNCRjmM339VfhDsFeyI8bVCNaN1QvWJETUnkvmjPVXiOTzx YP8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678799543; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WdtZV8AwtocgK4sKHmvk06gekWwXXmwztdIl74BNRSU=; b=FYafVPVT6KKAzwWyzgxFe5Q+sEqojA5Ooz+gi/XzDeRDq+kDOjkecVCEmOpIxVZj9m p7vvpNO6fWy+FWQnS+Kj8wZZvivqFe+lynZSNZD5T9l9t23O/q8OYNu9UjeRPhD4iVje j7w8rwHAYFfulAsOqRGq+kONtVHk3YJsvG1v1kdKjbiqHkNW/QCTxo+mxXZ3KUMzSnK9 zUjt8QQy5IpQFo67ZuMdX3SDxLUvFkHCNtPwKoTOenB64tH38I2UxWc1iuugFLO1ZCdu zKUfkkXccokQrFoWQfH4J0yhnJV+WS60bP+5yJ33+ESvV+M2clN+akfKMJlNXOMAzPjZ y2LA== X-Gm-Message-State: AO0yUKX9uTdAh7PkkHowbx293Q4SBUUV8IeihV79+Rbza3clirFXAsrl E4ZtwWs7KK1wfLt8JplVrYHCoQ== X-Google-Smtp-Source: AK7set8dgAWQ1pU9NgzWW9IGx8n9w/SRBF5S1qLkjP0TqvCBLDPQWvDmpr8/7tvuVrk49gyVRvTgLw== X-Received: by 2002:a05:622a:1984:b0:3bd:6c0:9c8e with SMTP id u4-20020a05622a198400b003bd06c09c8emr23781197qtc.2.1678799543539; Tue, 14 Mar 2023 06:12:23 -0700 (PDT) Received: from smtpclient.apple ([24.211.149.51]) by smtp.gmail.com with ESMTPSA id u19-20020a37ab13000000b00725d8d6983asm247203qke.61.2023.03.14.06.12.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Mar 2023 06:12:23 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: =?utf-8?Q?Re=3A_Uppercase_version_of_=C3=9F_desired?= From: Philip Semanchuk In-Reply-To: Date: Tue, 14 Mar 2023 09:12:11 -0400 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: <05800C0F-FCDE-4269-BFD7-D5B7740C5B68@americanefficient.com> References: To: Celia McInnis X-Mailer: Apple Mail (2.3731.300.101.1.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > 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). 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.=20 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