zorba::transcode Namespace

Inner Classes

zorba::transcode::stream
zorba::transcode::streambuf

Functions

ZORBA_DLL_PUBLIC boolis_necessary( char const * charset )
Checks whether it would be necessary to transcode from the given character encoding to UTF-8.
ZORBA_DLL_PUBLIC boolis_supported( char const * charset )
Checks whether the given character set is supported for transcoding.

Functions

is_necessary

ZORBA_DLL_PUBLIC bool is_necessary(
    char const * charset
)

Checks whether it would be necessary to transcode from the given character encoding to UTF-8.

Parameters

charset

The name of the character encoding to check.

Returns

true only if it would be necessary to transcode from the given character encoding to UTF-8.

is_supported

ZORBA_DLL_PUBLIC bool is_supported(
    char const * charset
)

Checks whether the given character set is supported for transcoding.

Parameters

charset

The name of the character encoding to check.

Returns

true only if the character encoding is supported.

blog comments powered by Disqus