… | |
… | |
2380 | cns11643_1992_4_f_154, cns11643_1992_4_f_155, cns11643_1992_4_f_156, cns11643_1992_4_f_157, |
2380 | cns11643_1992_4_f_154, cns11643_1992_4_f_155, cns11643_1992_4_f_156, cns11643_1992_4_f_157, |
2381 | cns11643_1992_4_f_158, cns11643_1992_4_f_159 |
2381 | cns11643_1992_4_f_158, cns11643_1992_4_f_159 |
2382 | }; |
2382 | }; |
2383 | |
2383 | |
2384 | |
2384 | |
2385 | struct rxvt_codeset_conv_cns11643_1992_4 : rxvt_codeset_conv { |
2385 | static uint32_t cs_cns11643_1992_4_from_unicode (unicode_t unicode) { |
2386 | uint32_t from_unicode (unicode_t unicode) const { |
|
|
2387 | if (unicode == 0x5a0e) return 0x2c40; |
2386 | if (unicode == 0x5a0e) return 0x2c40; |
2388 | if (unicode == 0x5a10) return 0x2c3e; |
2387 | if (unicode == 0x5a10) return 0x2c3e; |
2389 | if (unicode == 0x5a27) return 0x2c39; |
2388 | if (unicode == 0x5a27) return 0x2c39; |
2390 | if (unicode == 0x5a28) return 0x2c3d; |
2389 | if (unicode == 0x5a28) return 0x2c3d; |
2391 | if (unicode == 0x645a) return 0x435d; |
2390 | if (unicode == 0x645a) return 0x435d; |
… | |
… | |
2427 | && cns11643_1992_4_f_i[h - 0x34]) |
2426 | && cns11643_1992_4_f_i[h - 0x34]) |
2428 | return cns11643_1992_4_f_i[h - 0x34][l - 0x00] |
2427 | return cns11643_1992_4_f_i[h - 0x34][l - 0x00] |
2429 | ? cns11643_1992_4_f_i[h - 0x34][l - 0x00] |
2428 | ? cns11643_1992_4_f_i[h - 0x34][l - 0x00] |
2430 | : NOCHAR; |
2429 | : NOCHAR; |
2431 | return NOCHAR; |
2430 | return NOCHAR; |
2432 | } |
2431 | } |
2433 | } rxvt_codeset_conv_cns11643_1992_4; |
|
|
2434 | |
2432 | |
2435 | #else |
2433 | #else |
2436 | |
2434 | |
2437 | #define rxvt_codeset_conv_cns11643_1992_4 rxvt_codeset_conv_unknown |
2435 | #define cs_cns11643_1992_4_from_unicode cs_unknown_from_unicode |
|
|
2436 | #define cs_cns11643_1992_4_to_unicode cs_unknown_to_unicode |
2438 | |
2437 | |
2439 | #endif |
2438 | #endif |