Converter UTF-8 <-> rfc3490 (IDN).
More...
#include <Recoder.hpp>
|
| Rfc3490Utf8Converter (bool const encode=true) |
| Constructor; inEnc and outEnc are fixed by the encode flag.
|
|
Conversion const * | make (char const *const buf, size_t const bufSize) const |
| Convert from byte buffer. More...
|
|
| Converter (std::string const &inEnc, std::string const &outEnc, bool const &sloppy=false) |
| Converter base constructor.
|
|
virtual Conversion const * | make (char const *const buf, size_t const bufSize) const =0 |
| Convert from byte buffer. More...
|
|
Conversion const * | make (char const *const cStr) const |
| Convert from C-String.
|
|
Conversion const * | make (std::string const &str) const |
| Convert from std::string.
|
|
std::string | getID () const |
| Get id (informational).
|
|
|
enum | ErrorCode { EncUnknown_
, ConversionErr_
, UnknownErr_
} |
| Error codes for exceptions.
|
|
typedef CodeException< ErrorCode > | Exception |
| Exceptions for this class.
|
|
std::string const | inEnc_ |
|
std::string const | outEnc_ |
|
bool const | sloppy_ |
|
Converter UTF-8 <-> rfc3490 (IDN).
◆ make()
Conversion const * UI::Util::Rfc3490Utf8Converter::make |
( |
char const *const |
buf, |
|
|
size_t const |
bufSize |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following files: