--- rxvt-unicode/src/encoding.h 2004/02/13 12:16:21 1.2 +++ rxvt-unicode/src/encoding.h 2004/03/04 20:09:01 1.6 @@ -3,9 +3,9 @@ #include +// order must match the table in encoding.C(!) enum codeset { CS_UNKNOWN = 0, - CS_SPECIAL, CS_US_ASCII, CS_ISO8859_1, @@ -46,6 +46,7 @@ CS_CNS11643_1992_7, CS_CNS11643_1992_F, + CS_BIG5, CS_BIG5_EXT, CS_BIG5_PLUS, @@ -61,6 +62,7 @@ enum { ZERO_WIDTH_CHAR = 0x200b, + REPLACEMENT_CHAR = 0xfffd, NOCHAR = 65535, // must be invalid in ANY codeset (!) }; @@ -71,6 +73,8 @@ extern const rxvt_codeset_conv *rxvt_codeset[NUM_CODESETS]; +extern uint32_t rxvt_compose (uint32_t c1, uint32_t c2); + #define FROM_UNICODE(cs,code) rxvt_codeset[cs]->from_unicode (code) #define TO_UNICODE(cs,code) rxvt_codeset[cs]->to_unicode (code)