StringEncode

StringEncode class The template parameters are the character encoding types for the input and output of the converter.

class StringEncode : StringEncoder (
istring fromcode
istring tocode
) {}

Constructors

this
this()

Constructor. Initialises iconv with the desired character encoding conversion types, and sets default values for the public bool properties above.

Destructor

~this
~this()

Destructor. Simply closes down the C iconv library.

Members

Functions

convert
void convert(cstring input, mstring output)

Converts a string in one encoding type to another (as specified by the class' template parameters).

Inherited Members

From StringEncoder

convert
void convert(cstring input, mstring output)

Converts a string from one encoding to another.

Meta