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);
- 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);
DESCRIPTION
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.
AUTHOR
Sam Varshavchik
- Author