Details
enca_charset_name ()
const char* enca_charset_name (int charset,
EncaNameStyle whatname); |
Translates numeric charset id charset to some kind of name.
enca_get_charset_aliases ()
const char** enca_get_charset_aliases (int charset,
size_t *n); |
Returns list of accepted aliases for charset charset.
The list of aliases has to be freed by caller; the strings themselves
must be considered constant and must NOT be freed.
enca_get_surface_name ()
Constructs surface name from surface flags surface.
enca_parse_encoding_name ()
Transofrms encoding specification charset/surface into numeric EncaEncoding.
When the charset name is not recognized, surfaces are not parsed at all and
ENCA_CS_UNKNOWN is returned as charset. However, unrecognized surfaces are
considered only a minor problem causing ENCA_SURFACE_UNKNOWN flag to be
set in the result, beside recognized surface flags.
enca_charset_natural_surface ()
EncaSurface enca_charset_natural_surface (int charset); |
Returns natural surface of a charset.
enca_charset_properties ()
Returns charset properties.
enca_charset_is_7bit()
#define enca_charset_is_7bit(cs) |
Expands to nonzero when characters are represented with 7bit characters.
enca_charset_is_8bit()
#define enca_charset_is_8bit(cs) |
Expands to nonzero when characters are represented with bytes.
enca_charset_is_16bit()
#define enca_charset_is_16bit(cs) |
Expands to nonzero when characters are represented with 2byte words.
enca_charset_is_32bit()
#define enca_charset_is_32bit(cs) |
Expands to nonzero when characters are represented with 4byte words.
enca_charset_is_fixed()
#define enca_charset_is_fixed(cs) |
Expands to nonzero when one characters consists of one fundamental piece.
enca_charset_is_variable()
#define enca_charset_is_variable(cs) |
Expands to nonzero when one character consists of variable number of
fundamental pieces.
enca_charset_is_binary()
#define enca_charset_is_binary(cs) |
Expands to nonzero when charset is binary from ASCII viewpoint.
enca_charset_is_regular()
#define enca_charset_is_regular(cs) |
Expands to nonzero when charset is language dependent (8bit) charset.
enca_charset_is_multibyte()
#define enca_charset_is_multibyte(cs) |
Expands to nonzero when charset is multibyte.