News for hackers. Stuff that matters.
Re:TIL the assumption that string length does not change whe... by pvg on Monday November 22, 2021 @12:53AM (#29303244)
The conversion is lossy since lowercase ss (e.g Gasse) is valid and common German and capitalizes to SS as well. Short of the call learning some German, there's no neatly reversing this.
Re:TIL the assumption that string length does not change whe... by ThreeFx on Monday November 22, 2021 @08:29AM (#29306099)
There are even cases where it is context-depedent: Maße (measurements) and Masse (mass). Both are written MASSE uppercased, but how do you know which one's which?

For additional fun: Swiss German doesn't use ß at all, so there is no difference between "in Maßen genießen" (to enjoy in moderation) and "in Massen genießen" (to enjoy in large amounts).

Re:TIL the assumption that string length does not change whe... by pvg on Monday November 22, 2021 @03:17PM (#29311126)
Swiss German doesn't use ß at all

TIL! I googled my way to a fun summary of the various factors potentially influencing this:

https://german.stackexchange.com/questions/56567/why-was-%C3...