Edinburgh Speech Tools  2.1-release
charset.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  character_encoding_alias
 

Macros

#define STD_API
 

Typedefs

typedef char char8
 
typedef unsigned short char16
 
typedef unsigned int char32
 
typedef enum character_encoding CharacterEncoding
 

Enumerations

enum  character_encoding {
  CE_unknown, CE_unspecified_ascii_superset, CE_UTF_8, CE_ISO_646,
  CE_ISO_8859_1, CE_ISO_8859_2, CE_ISO_8859_3, CE_ISO_8859_4,
  CE_ISO_8859_5, CE_ISO_8859_6, CE_ISO_8859_7, CE_ISO_8859_8,
  CE_ISO_8859_9, CE_UTF_16B, CE_UTF_16L, CE_ISO_10646_UCS_2B,
  CE_ISO_10646_UCS_2L, CE_enum_count
}
 

Functions

STD_API void init_charset (void)
 
STD_API int EncodingIsAsciiSuperset (CharacterEncoding enc)
 
STD_API int EncodingsCompatible (CharacterEncoding enc1, CharacterEncoding enc2, CharacterEncoding *enc3)
 
STD_API CharacterEncoding FindEncoding (char8 *name)
 

Variables

STD_API CharacterEncoding InternalCharacterEncoding
 
STD_API const char8CharacterEncodingName [CE_enum_count]
 
STD_API const char8CharacterEncodingNameAndByteOrder [CE_enum_count]
 
STD_API struct character_encoding_alias CharacterEncodingAlias []
 
STD_API const int CE_alias_count
 
STD_API int iso_to_unicode [8][256]
 
STD_API int iso_max_val [8]
 
STD_API char8unicode_to_iso [8]
 

Macro Definition Documentation

#define STD_API

Definition at line 19 of file charset.h.

Typedef Documentation

typedef char char8

Definition at line 31 of file charset.h.

typedef unsigned short char16

Definition at line 32 of file charset.h.

typedef unsigned int char32

Definition at line 33 of file charset.h.

Definition at line 61 of file charset.h.

Enumeration Type Documentation

Enumerator
CE_unknown 
CE_unspecified_ascii_superset 
CE_UTF_8 
CE_ISO_646 
CE_ISO_8859_1 
CE_ISO_8859_2 
CE_ISO_8859_3 
CE_ISO_8859_4 
CE_ISO_8859_5 
CE_ISO_8859_6 
CE_ISO_8859_7 
CE_ISO_8859_8 
CE_ISO_8859_9 
CE_UTF_16B 
CE_UTF_16L 
CE_ISO_10646_UCS_2B 
CE_ISO_10646_UCS_2L 
CE_enum_count 

Definition at line 49 of file charset.h.

Function Documentation

STD_API void init_charset ( void  )

Definition at line 233 of file charset.c.

STD_API int EncodingIsAsciiSuperset ( CharacterEncoding  enc)

Definition at line 286 of file charset.c.

STD_API int EncodingsCompatible ( CharacterEncoding  enc1,
CharacterEncoding  enc2,
CharacterEncoding enc3 
)

Definition at line 297 of file charset.c.

STD_API CharacterEncoding FindEncoding ( char8 name)

Definition at line 335 of file charset.c.

Variable Documentation

STD_API CharacterEncoding InternalCharacterEncoding

Definition at line 231 of file charset.c.

STD_API const char8* CharacterEncodingName[CE_enum_count]

Definition at line 170 of file charset.c.

STD_API const char8* CharacterEncodingNameAndByteOrder[CE_enum_count]

Definition at line 193 of file charset.c.

STD_API struct character_encoding_alias CharacterEncodingAlias[]

Definition at line 216 of file charset.c.

STD_API const int CE_alias_count

Definition at line 228 of file charset.c.

STD_API int iso_to_unicode[8][256]

Definition at line 33 of file charset.c.

STD_API int iso_max_val[8]

Definition at line 34 of file charset.c.

STD_API char8* unicode_to_iso[8]

Definition at line 35 of file charset.c.