Please leave out all case conversion issues out of this discussion. Case conversion is very complicated. Proper international character handling is a known weakness of the standard library, because its design predates many of the more complicated issues involved in this. If you need character handling, use ICU.