Hacker News new | ask | show | jobs
by ahartmetz 617 days ago
I don't see a problem with that. You can have it done locale-aware or not and "not" seems like a sane default. QString will uppercase 'ü' to 'Ü' just fine without locale-awareness whereas std::string doesn't handle non-ASCII according to the article. The cases where locale matters are probably very rare and the result will probably be reasonable anyway.
1 comments

That attitude is how you end up with exploits because your case folding is different from some other system you interact with.