Classes | Functions
zorba::transcode Namespace Reference

Classes

class  stream
 A transcode::stream is used to wrap a C++ standard I/O stream with a transcode::streambuf so that transcoding and the management of the streambuf happens automatically. More...
class  streambuf
 A transcode::streambuf is-a std::streambuf for transcoding character encodings from/to UTF-8 on-the-fly. More...

Functions

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.
ZORBA_DLL_PUBLIC bool is_supported (char const *charset)
 Checks whether the given character set is supported for transcoding.

Function Documentation

ZORBA_DLL_PUBLIC bool zorba::transcode::is_necessary ( char const *  charset)

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

Parameters:
charsetThe 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.
ZORBA_DLL_PUBLIC bool zorba::transcode::is_supported ( char const *  charset)

Checks whether the given character set is supported for transcoding.

Parameters:
charsetThe name of the character encoding to check.
Returns:
true only if the character encoding is supported.
blog comments powered by Disqus