Logo Search packages:      
Sourcecode: m17n-lib version File versions  Download package

charset.h File Reference


Detailed Description

Header for charset handlers.

Definition in file charset.h.

Go to the source code of this file.

Classes

struct  MCharset
struct  MCharsetISO2022Table

Defines

#define CODE_POINT_TO_INDEX(charset, code)
#define DECODE_CHAR(charset, code)
#define ENCODE_CHAR(charset, c)
#define INDEX_TO_CODE_POINT(charset, idx)
#define ISO_MAX_CHARS   2
#define ISO_MAX_DIMENSION   3
#define ISO_MAX_FINAL   0x80
#define MCHARSET(charset_sym)
#define MCHARSET_ISO_2022(dim, chars, final)   mcharset__iso_2022_table.classified[(dim) - 1][(chars) == 96][(final)]

Typedefs

typedef struct MCharset MCharset

Enumerations

enum  mcharset_method {
  MCHARSET_METHOD_OFFSET, MCHARSET_METHOD_MAP, MCHARSET_METHOD_DEFERRED, MCHARSET_METHOD_SUBSET,
  MCHARSET_METHOD_SUPERSET, MCHARSET_METHOD_MAX
}

Functions

int mcharset__decode_char (MCharset *charset, unsigned code)
unsigned mcharset__encode_char (MCharset *charset, int c)
MCharsetmcharset__find (MSymbol name)
int mcharset__load_from_database ()

Variables

MCharsetmcharset__ascii
MCharsetmcharset__binary
MPlist * mcharset__cache
MCharsetISO2022Table mcharset__iso_2022_table
MCharsetmcharset__m17n
MCharsetmcharset__unicode


Generated by  Doxygen 1.6.0   Back to index