20 Oct
2021
20 Oct
'21
12:26 a.m.
On Wed, Oct 20, 2021 at 11:10:52AM +1100, Chris Angelico wrote:
On Wed, Oct 20, 2021 at 11:02 AM Steven D'Aprano
wrote: Ironically, Ricky's in-fun suggestion that we use the tilde operator for swapcase was the only suggestion in these two threads that actually met the invariant for an inverse that ~~x == x.
x = "ß"
:) Okay, so it's *mostly* an invariant.
Hah, well spotted! Ironically, there is an uppercase eszett, 'ẞ', although font support for it may still be limited. (Come on font designers, it has only been official in Unicode since 2008 and in German orthography in 2017). -- Steve