Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
UNICODE::TOLOWER(3)	    Courier Unicode Library	   UNICODE::TOLOWER(3)

NAME
       unicode::tolower, unicode::toupper, unicode::totitle - unicode version
       of tolower(3) and toupper(3) and	totitle(3) (if there was such a	thing)

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

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

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

       std::u32string unicode::totitle(const std::u32string_view &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) or unicode_tc(3), then convert it back
       to the same character set, returning the	resulting string.

       Passing a const std::u32string_view & directly also converts it
       accordingly, returning the converted unicode string.

SEE ALSO
       courier-unicode(7).

AUTHOR
       Sam Varshavchik
	   Author

Courier	Unicode	Library		  08/26/2025		   UNICODE::TOLOWER(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=unicode::toupper&sektion=3&manpath=FreeBSD+Ports+15.0.quarterly>

home | help