… | |
… | |
2 | // AUTOMATICALLLY GENERATED by gentables |
2 | // AUTOMATICALLLY GENERATED by gentables |
3 | // |
3 | // |
4 | #ifdef ENCODING_DEFAULT |
4 | #ifdef ENCODING_DEFAULT |
5 | |
5 | |
6 | |
6 | |
7 | struct rxvt_codeset_conv_iso8859_1 : rxvt_codeset_conv { |
|
|
8 | uint32_t from_unicode (unicode_t unicode) const { |
7 | static uint32_t cs_iso8859_1_from_unicode (unicode_t unicode) { |
9 | if (unicode <= 0x00ff) return unicode; |
8 | if (unicode <= 0x00ff) return unicode; |
10 | return NOCHAR; |
9 | return NOCHAR; |
11 | } |
10 | } |
12 | } rxvt_codeset_conv_iso8859_1; |
|
|
13 | |
11 | |
14 | #else |
12 | #else |
15 | |
13 | |
16 | #define rxvt_codeset_conv_iso8859_1 rxvt_codeset_conv_unknown |
14 | #define cs_iso8859_1_from_unicode cs_unknown_from_unicode |
|
|
15 | #define cs_iso8859_1_to_unicode cs_unknown_to_unicode |
17 | |
16 | |
18 | #endif |
17 | #endif |