7 #if defined(HAVE_STDINT_H)
9 #elif defined(HAVE_INTTYPES_H)
10 # include <inttypes.h>
13 typedef unsigned char wc_uchar;
14 #if defined(HAVE_STDINT_H) || defined(HAVE_INTTYPES_H)
15 typedef uint8_t wc_uint8;
16 typedef uint16_t wc_uint16;
17 typedef uint32_t wc_uint32;
19 typedef unsigned char wc_uint8;
20 typedef unsigned short wc_uint16;
21 typedef unsigned long wc_uint32;
24 typedef wc_uint32 wc_ccs;
25 typedef wc_uint32 wc_ces;
26 typedef wc_uint32 wc_locale;
27 typedef wc_uchar wc_bool;
76 wc_uint8 auto_detect; /* automatically charset detect */
77 wc_bool use_combining; /* use combining characters */
78 wc_bool use_language_tag; /* use language_tags */
79 wc_bool ucs_conv; /* charset conversion using Unicode */
80 wc_bool pre_conv; /* previously charset conversion */
81 wc_bool fix_width_conv; /* not allowed conversion between different
83 wc_bool use_gb12345_map; /* use GB 12345 Unicode map instead of
84 GB 2312 Unicode map */
85 wc_bool use_jisx0201; /* use JIS X 0201 Roman instead of US_ASCII */
86 wc_bool use_jisc6226; /* use JIS C 6226:1978 instead of JIS X 0208 */
87 wc_bool use_jisx0201k; /* use JIS X 0201 Katakana */
88 wc_bool use_jisx0212; /* use JIS X 0212 */
89 wc_bool use_jisx0213; /* use JIS X 0213 */
90 wc_bool strict_iso2022; /* strict ISO 2022 */
91 wc_bool gb18030_as_ucs; /* treat 4 bytes char. of GB18030 as Unicode */
92 wc_bool no_replace; /* don't output replace character */
93 wc_bool use_wide; /* use wide characters */
97 wc_ces_info *ces_info;