News for hackers. Stuff that matters.
Re:In the Turkish locale, "INFO".lower() != "info" by netsharc on Sunday August 16, 2020 @05:58PM (#24181716)
> lowercaseTR()

Huh, that works well if we know the input string is in Turkish. What if this information is not available as you're writing the code?

And what will lowercase()/uppercase() be hard coded to do, and what are they supposed to output when the input isn't ASCII?

Re:In the Turkish locale, "INFO".lower() != "info" by decafbad on Monday August 17, 2020 @02:57AM (#24184694)
Give me an example. I'll try to find the best -IMHO- solution.