std::tolower

template <class charT>
charT tolower (charT c, const locale& loc);

Convert uppercase letter to lowercase using locale

Converts parameter c to its lowercase equivalent if c is an uppercase letter and has a lowercase equivalent, as determined by the ctype facet of locale loc. If no such conversion is possible, the value returned is c unchanged.