… | |
… | |
61 | }; |
61 | }; |
62 | |
62 | |
63 | codeset codeset_from_name (const char *name); |
63 | codeset codeset_from_name (const char *name); |
64 | |
64 | |
65 | enum { |
65 | enum { |
66 | ZERO_WIDTH_CHAR = 0x200b, |
66 | ZERO_WIDTH_CHAR = 0x200b, |
67 | REPLACEMENT_CHAR = 0xfffd, |
67 | REPLACEMENT_CHAR = 0xfffd, |
68 | NOCHAR = 65535, // must be invalid in ANY codeset (!) |
68 | NOCHAR = 0xfffe, // must be invalid in ANY codeset (!) |
69 | }; |
69 | }; |
70 | |
70 | |
71 | struct rxvt_codeset_conv { |
71 | struct rxvt_codeset_conv { |
72 | uint32_t (*from_unicode) (unicode_t unicode); |
72 | uint32_t (*from_unicode) (unicode_t unicode); |
73 | #if ENCODING_TO_UNICODE |
73 | #if ENCODING_TO_UNICODE |