Let\'s imagine I have a UTF-8 encoded std::string
containing the following:
óó
and I\'d like to convert it to the following:
<
There is no standard way to do Unicode case conversion in C++. There are ways that work on some C++ implementations, but the standard doesn't require them to.
If you want guaranteed Unicode case conversion, you will need to use a library like ICU or Boost.Locale (aka: ICU with a more C++-like interface).