from small one page howto to huge articles all in one place
 

search text in:





Poll
Which screen resolution do you use?










poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

195651

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252057

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

140922

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





UNICODE::ICONVERT::C

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

NAME

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

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR
NOTES





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 13.1 ms