unicode::tolower, unicode::toupper - unicode version of tolower(3) and toupper(3)
Contents
Description
These functions convert the string parameter, in charset or unicode_default_chset(3), to unicode, replace
each character with unicode_lc(3) or unicode_uc(3), then convert it back to the same character set,
returning the resulting string.
Passing a const std::u32string & directly also converts it accordingly, returning the converted unicode
string.
Name
unicode::tolower, unicode::toupper - unicode version of tolower(3) and toupper(3)
See Also
courier-unicode(7).
Synopsis
#include<courier-unicode.h>std::stringunicode::tolower(conststd::string&string);std::stringunicode::tolower(conststd::string&string,conststd::string&charset);std::u32stringunicode::tolower(conststd::u32string&u);std::stringunicode::toupper(conststd::string&string);std::stringunicode::toupper(conststd::string&string,conststd::string&charset);std::u32stringunicode::toupper(conststd::u32string&u);
