#include <iconv.h>
#include <stdexcept>
#include <vector>
#include <sstream>
Go to the source code of this file.
|
| std::string | UTF8toISO8859_1 (const std::string &utf8_str) |
| | converts a UTF8 string to ISO8859-1 / ANSI using iconv
|
| |
| template<typename Type> |
| std::string | to_str (const Type &t) |
| | converts various datatypes to string using ostringstream
|
| |
◆ to_str()
template<typename Type>
| std::string to_str |
( |
const Type & | t | ) |
|
converts various datatypes to string using ostringstream
- Returns
- data as string
◆ UTF8toISO8859_1()
| std::string UTF8toISO8859_1 |
( |
const std::string & | utf8_str | ) |
|
|
inline |
converts a UTF8 string to ISO8859-1 / ANSI using iconv
- Returns
- ANSI String