6 typedef uint32_t unicode_t;
8 // order must match the table in encoding.C(!)
57 CS_UNICODE_16, /* 16-bit subset of unicode, for X11 */
63 codeset codeset_from_name (const char *name);
66 ZERO_WIDTH_CHAR = 0x200b,
67 REPLACEMENT_CHAR = 0xfffd,
68 NOCHAR = 0xffff, // must be invalid in ANY codeset (!)
71 struct rxvt_codeset_conv
73 uint32_t (*from_unicode) (unicode_t unicode);
74 #if ENCODING_TO_UNICODE
75 unicode_t (*to_unicode) (uint32_t enc);
79 extern const rxvt_codeset_conv rxvt_codeset[NUM_CODESETS];
81 extern unicode_t rxvt_compose (unicode_t c1, unicode_t c2);
83 #define FROM_UNICODE(cs,code) rxvt_codeset[cs].from_unicode (code)
84 #define TO_UNICODE(cs,code) rxvt_codeset[cs].to_unicode (code)
86 struct unicode // namespace für arme
88 static bool is_space (unicode_t c);