
Dec. 23, 2022
11:03 p.m.
On 23Dec2022 22:27, Chris Angelico <rosuav@gmail.com> wrote:
I think this would be a useful feature to have, although it'll probably end up needing a LOT of information (you can't just say "give me a locale-correct uppercasing of this string" without further context). So IMO it should be third-party.
It would probably be good to have a caveat mentioning these context difficulties in the docs of the unicodedata and str/string case fiddling methods. Not a complete exposition, but making it clear that for some languages the rules require context, maybe with a hard-to-implement-correctly example of naive/incorrect use. Cheers, Cameron Simpson <cs@cskk.id.au>