GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  UNICODE::ICONVERT::CONVERT_TOCASE (3)

.ds Aq ’

NAME

unicode::iconvert::convert_tocase - unicode uppercase, lowercase, and titlecase conversion

CONTENTS

SYNOPSIS

#include <courier-unicode.h>

std::string unicode::iconvert::convert_tocase(const std::string &text, const std::string &charset, unicode_char (*first_char_func)(unicode_char), unicode_char (*char_func)(unicode_char));
std::string unicode::iconvert::convert_tocase(const std::string &text, const std::string &charset, bool &err, unicode_char (*first_char_func)(unicode_char), unicode_char (*char_func)(unicode_char));

DESCRIPTION

The overloaded unicode::convert::convert_tocase() function converts the text parameter, in the charset characters to lowercase, uppercase, and titlecase. text gets converted, internally, into unicode. first_char_func and char_func are either: unicode_lc, unicode_uc, or unicode_tc. If the converted text string is not empty, first_char_func converts the first unicode character in the text string, and char_func converts any remaining characters. unicode_lc converts its character to lowercase, unicode_uc to uppercase, and unicode_tc to titlecase. Finally, the unicode string gets converted back to charset, which gets returned.

The optional err parameter gets set to true if an error was encounted converting the text string to or from unicode.

SEE ALSO

courier-unicode(7), unicode::convert::convert(3), unicode_convert(3), \m[blue]iconv(3)\m[][1].

AUTHOR

Sam Varshavchik

Author

NOTES

1.

         iconv(3)  http://manpages.courier-mta.org/htmlman3/iconv.3.html

Search for    or go to Top of page |  Section 3 |  Main Index


Courier Unicode Library UNICODE::ICONVERT::C (3) 07/29/2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.