ui-utilcpp  1.8.3
Public Member Functions
UI::Util::Rfc3490Utf8Converter Class Reference

Converter UTF-8 <-> rfc3490 (IDN). More...

#include <Recoder.hpp>

Inheritance diagram for UI::Util::Rfc3490Utf8Converter:
Inheritance graph
Collaboration diagram for UI::Util::Rfc3490Utf8Converter:
Collaboration graph

Public Member Functions

 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.
 
- Public Member Functions inherited from UI::Util::Converter
 Converter (std::string const &inEnc, std::string const &outEnc, bool const &sloppy=false)
 Converter base constructor.
 
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).
 

Additional Inherited Members

- Public Types inherited from UI::Util::Converter
enum  ErrorCode { EncUnknown_, ConversionErr_, UnknownErr_ }
 Error codes for exceptions.
 
typedef CodeException< ErrorCodeException
 Exceptions for this class.
 
- Protected Attributes inherited from UI::Util::Converter
std::string const inEnc_
 
std::string const outEnc_
 
bool const sloppy_
 

Detailed Description

Converter UTF-8 <-> rfc3490 (IDN).


The documentation for this class was generated from the following files: