unicode::toupper(3)

unicode::toupper3

Unicode version of tolower(3) and toupper(3)

Part of unicode::tolower(3).

Usage

#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::u32string unicode::tolower(const std::u32string &u);

std::string unicode::toupper(const std::string &string);

std::string unicode::toupper(const std::string &string, const std::string &charset);

std::u32string unicode::toupper(const std::u32string &u);

Overview

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 11–12
  4. 13

Author

Sam Varshavchik

Author

From libcourier-unicode-dev 2.3.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.