1 | // |
1 | // |
2 | // AUTOMATICALLLY GENERATED by gentables |
2 | // AUTOMATICALLLY GENERATED by gentables |
3 | // |
3 | // |
4 | #ifdef ENCODING_CN_EXT |
4 | #ifdef ENCODING_ZH_EXT |
5 | |
5 | |
6 | static const uint16_t cns11643_1992_7_f_69[] = { |
6 | static const uint16_t cns11643_1992_7_f_69[] = { |
7 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
7 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
8 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
8 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
9 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
9 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
… | |
… | |
191 | cns11643_1992_7_f_69, cns11643_1992_7_f_70, cns11643_1992_7_f_71, 0, cns11643_1992_7_f_73, |
191 | cns11643_1992_7_f_69, cns11643_1992_7_f_70, cns11643_1992_7_f_71, 0, cns11643_1992_7_f_73, |
192 | cns11643_1992_7_f_74, cns11643_1992_7_f_75, cns11643_1992_7_f_76, cns11643_1992_7_f_77 |
192 | cns11643_1992_7_f_74, cns11643_1992_7_f_75, cns11643_1992_7_f_76, cns11643_1992_7_f_77 |
193 | }; |
193 | }; |
194 | |
194 | |
195 | |
195 | |
196 | struct rxvt_codeset_conv_cns11643_1992_7 : rxvt_codeset_conv { |
196 | static uint32_t cs_cns11643_1992_7_from_unicode (unicode_t unicode) { |
197 | uint32_t from_unicode (unicode_t unicode) const { |
|
|
198 | if (unicode == 0x34a7) return 0x5274; |
197 | if (unicode == 0x34a7) return 0x5274; |
199 | if (unicode == 0x34a8) return 0x574c; |
198 | if (unicode == 0x34a8) return 0x574c; |
200 | if (unicode == 0x34b9) return 0x4d3d; |
199 | if (unicode == 0x34b9) return 0x4d3d; |
201 | if (unicode == 0x3510) return 0x3e7d; |
200 | if (unicode == 0x3510) return 0x3e7d; |
202 | if (unicode == 0x35f6) return 0x214e; |
201 | if (unicode == 0x35f6) return 0x214e; |
… | |
… | |
273 | && cns11643_1992_7_f_i[h - 0x45]) |
272 | && cns11643_1992_7_f_i[h - 0x45]) |
274 | return cns11643_1992_7_f_i[h - 0x45][l - 0x04] |
273 | return cns11643_1992_7_f_i[h - 0x45][l - 0x04] |
275 | ? cns11643_1992_7_f_i[h - 0x45][l - 0x04] |
274 | ? cns11643_1992_7_f_i[h - 0x45][l - 0x04] |
276 | : NOCHAR; |
275 | : NOCHAR; |
277 | return NOCHAR; |
276 | return NOCHAR; |
278 | } |
277 | } |
279 | } rxvt_codeset_conv_cns11643_1992_7; |
|
|
280 | |
278 | |
281 | #else |
279 | #else |
282 | |
280 | |
283 | #define rxvt_codeset_conv_cns11643_1992_7 rxvt_codeset_conv_unknown |
281 | #define cs_cns11643_1992_7_from_unicode cs_unknown_from_unicode |
|
|
282 | #define cs_cns11643_1992_7_to_unicode cs_unknown_to_unicode |
284 | |
283 | |
285 | #endif |
284 | #endif |