logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

unicode::tolower, unicode::toupper - unicode version of tolower(3) and toupper(3)

Author

SamVarshavchik
           Author

Courier Unicode Library                            05/18/2024                                UNICODE::TOLOWER(3)

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);

See Also