www.LinuxHowtos.org
UNICODE::ICONVERT::T
Section: Courier Unicode Library (3)Updated: 07/29/2015
Index Return to Main Contents
NAME
unicode::iconvert::tou - template for converting text sequence to unicodeSYNOPSIS
#include <courier-unicode.h>
-
output_iter_t convert(input_iter_t beg_iter, input_iter_t end_iter, const std::string &charset, bool &errflag, output_iter_t output_iter);
- bool convert(input_iter_t beg_iter, input_iter_t end_iter, const std::string &charset, std::vector<unicode_char> &out_buf);
- std::pair<std::vector<unicode_char>, bool> convert(const std::string &text, const std::string &charset);
- bool convert(input_iter_t beg_iter, input_iter_t end_iter, const std::string &charset, std::vector<unicode_char> &out_buf);
DESCRIPTION
An overloaded convert() puts the unicode character sequence into a vector of unicode_chars, instead of an output sequence, and returned the error flag. Finally, a single std::string specifies the character string, instead of a beginning and an ending iterator, and returns a std::pair with the converted unicode text in a vector, and the error flag.
SEE ALSO
courier-unicode(7), unicode::convert::convert(3), unicode_convert(3), m[blue]iconv(3)m[][1].
AUTHOR
Sam Varshavchik
- Author