www.LinuxHowtos.org





UNICODE::TOLOWER

Section: Courier Unicode Library (3)
Updated: 07/29/2015
Index Return to Main Contents
 

NAME

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

SYNOPSIS

#include <courier-unicode.h>
std::string unicode::tolower(const std::string &string);
std::string unicode::tolower(const std::string &string, const std::string &charset);
std::vector<unicode_char> unicode::tolower(const std::vector<unicode_char> &u);
std::string unicode::toupper(const std::string &string);
std::string unicode::toupper(const std::string &string, const std::string &charset);
std::vector<unicode_char> unicode::toupper(const std::vector<unicode_char> &u);
 

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::vector<unicode_char> & directly also converts it accordingly, returning the converted unicode string.  

SEE ALSO

courier-unicode(7).  

AUTHOR

Sam Varshavchik

Author


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR