… | |
… | |
321 | cns11643_1992_6_f_62, 0, 0, cns11643_1992_6_f_65, 0, cns11643_1992_6_f_67, cns11643_1992_6_f_68, |
321 | cns11643_1992_6_f_62, 0, 0, cns11643_1992_6_f_65, 0, cns11643_1992_6_f_67, cns11643_1992_6_f_68, |
322 | 0, 0, cns11643_1992_6_f_71 |
322 | 0, 0, cns11643_1992_6_f_71 |
323 | }; |
323 | }; |
324 | |
324 | |
325 | |
325 | |
326 | struct rxvt_codeset_conv_cns11643_1992_6 : rxvt_codeset_conv { |
326 | static uint32_t cs_cns11643_1992_6_from_unicode (unicode_t unicode) { |
327 | uint32_t from_unicode (unicode_t unicode) const { |
|
|
328 | if (unicode == 0x3637) return 0x2f65; |
327 | if (unicode == 0x3637) return 0x2f65; |
329 | if (unicode == 0x3652) return 0x474e; |
328 | if (unicode == 0x3652) return 0x474e; |
330 | if (unicode == 0x369d) return 0x3e42; |
329 | if (unicode == 0x369d) return 0x3e42; |
331 | if (unicode == 0x3b01) return 0x533d; |
330 | if (unicode == 0x3b01) return 0x533d; |
332 | if (unicode == 0x3f56) return 0x2862; |
331 | if (unicode == 0x3f56) return 0x2862; |
… | |
… | |
403 | && cns11643_1992_6_f_i[h - 0x34]) |
402 | && cns11643_1992_6_f_i[h - 0x34]) |
404 | return cns11643_1992_6_f_i[h - 0x34][l - 0x00] |
403 | return cns11643_1992_6_f_i[h - 0x34][l - 0x00] |
405 | ? cns11643_1992_6_f_i[h - 0x34][l - 0x00] |
404 | ? cns11643_1992_6_f_i[h - 0x34][l - 0x00] |
406 | : NOCHAR; |
405 | : NOCHAR; |
407 | return NOCHAR; |
406 | return NOCHAR; |
408 | } |
407 | } |
409 | } rxvt_codeset_conv_cns11643_1992_6; |
|
|
410 | |
408 | |
411 | #else |
409 | #else |
412 | |
410 | |
413 | #define rxvt_codeset_conv_cns11643_1992_6 rxvt_codeset_conv_unknown |
411 | #define cs_cns11643_1992_6_from_unicode cs_unknown_from_unicode |
|
|
412 | #define cs_cns11643_1992_6_to_unicode cs_unknown_to_unicode |
414 | |
413 | |
415 | #endif |
414 | #endif |