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_5_f_52[] = { |
6 | static const uint16_t cns11643_1992_5_f_52[] = { |
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, |
… | |
… | |
659 | cns11643_1992_5_f_72, cns11643_1992_5_f_73, cns11643_1992_5_f_74, cns11643_1992_5_f_75, cns11643_1992_5_f_76, |
659 | cns11643_1992_5_f_72, cns11643_1992_5_f_73, cns11643_1992_5_f_74, cns11643_1992_5_f_75, cns11643_1992_5_f_76, |
660 | cns11643_1992_5_f_77, 0, 0, 0, 0, cns11643_1992_5_f_82 |
660 | cns11643_1992_5_f_77, 0, 0, 0, 0, cns11643_1992_5_f_82 |
661 | }; |
661 | }; |
662 | |
662 | |
663 | |
663 | |
664 | struct rxvt_codeset_conv_cns11643_1992_5 : rxvt_codeset_conv { |
664 | static uint32_t cs_cns11643_1992_5_from_unicode (unicode_t unicode) { |
665 | uint32_t from_unicode (unicode_t unicode) const { |
|
|
666 | if (unicode == 0x5921) return 0x373d; |
665 | if (unicode == 0x5921) return 0x373d; |
667 | if (unicode == 0x5e07) return 0x225c; |
666 | if (unicode == 0x5e07) return 0x225c; |
668 | if (unicode == 0x5e3f) return 0x377c; |
667 | if (unicode == 0x5e3f) return 0x377c; |
669 | if (unicode == 0x5fcb) return 0x2266; |
668 | if (unicode == 0x5fcb) return 0x2266; |
670 | if (unicode == 0x6117) return 0x3f30; |
669 | if (unicode == 0x6117) return 0x3f30; |
… | |
… | |
724 | && cns11643_1992_5_f_i[h - 0x34]) |
723 | && cns11643_1992_5_f_i[h - 0x34]) |
725 | return cns11643_1992_5_f_i[h - 0x34][l - 0x00] |
724 | return cns11643_1992_5_f_i[h - 0x34][l - 0x00] |
726 | ? cns11643_1992_5_f_i[h - 0x34][l - 0x00] |
725 | ? cns11643_1992_5_f_i[h - 0x34][l - 0x00] |
727 | : NOCHAR; |
726 | : NOCHAR; |
728 | return NOCHAR; |
727 | return NOCHAR; |
729 | } |
728 | } |
730 | } rxvt_codeset_conv_cns11643_1992_5; |
|
|
731 | |
729 | |
732 | #else |
730 | #else |
733 | |
731 | |
734 | #define rxvt_codeset_conv_cns11643_1992_5 rxvt_codeset_conv_unknown |
732 | #define cs_cns11643_1992_5_from_unicode cs_unknown_from_unicode |
|
|
733 | #define cs_cns11643_1992_5_to_unicode cs_unknown_to_unicode |
735 | |
734 | |
736 | #endif |
735 | #endif |