… | |
… | |
3 | // |
3 | // |
4 | #ifdef ENCODING_DEFAULT |
4 | #ifdef ENCODING_DEFAULT |
5 | |
5 | |
6 | |
6 | |
7 | struct rxvt_codeset_conv_iso8859_1 : rxvt_codeset_conv { |
7 | struct rxvt_codeset_conv_iso8859_1 : rxvt_codeset_conv { |
8 | uint32_t from_unicode (uint32_t unicode) const { |
8 | uint32_t from_unicode (unicode_t unicode) const { |
9 | if (unicode <= 0x00ff) return unicode; |
9 | if (unicode <= 0x00ff) return unicode; |
10 | return NOCHAR; |
|
|
11 | } |
|
|
12 | uint32_t to_unicode (uint32_t enc) const { |
|
|
13 | if (enc <= 0x00ff) return enc; |
|
|
14 | return NOCHAR; |
10 | return NOCHAR; |
15 | } |
11 | } |
16 | } rxvt_codeset_conv_iso8859_1; |
12 | } rxvt_codeset_conv_iso8859_1; |
17 | |
13 | |
18 | #else |
14 | #else |