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

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

196714

userrating:

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


May 25th. 2007:
Words

486

Views

252324

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:

141294

userrating:

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


April, 26th. 2006:

Druckversion
You are here: manpages





UNICODE::ICONVERT::F

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

NAME

unicode::iconvert::fromu - template for converting text sequence from unicode  

SYNOPSIS

#include <courier-unicode.h>
output_iter_t unicode::iconvert::fromu::convert(input_iter_t beg_iter, input_iter_t end_iter, const std::string &charset, output_iter_t output_iter, bool &errflag);
void unicode::iconvert::fromu::convert(input_iter_t beg_iter, input_iter_t end_iter, const std::string &charset, std::string &out_buf, bool &errflag);
std::pair<std::string, bool> unicode::iconvert::fromu::convert(const std::vector<unicode_char> &text, const std::string &charset);
 

DESCRIPTION

These template functions convert unicode characters to text in the given character set. beg_iter and end_iter define an input sequence of unicode_chars. They get converted to unicode characters. output_iter is an output iterator that convert() iterates over chars in the specified character set. convert() returns the value of the output iterator after iterating over the converted character sequence. err_flag gets set to true if unicode text could not be converted to the requested character set, or false for a successful conversion.

An overloaded convert() puts the text string into a std::string, instead of using an output iterator. Finally, a single std::vector<unicode_char> specifies the character string, instead of a beginning and an ending iterator.  

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: 41.9 ms