… | |
… | |
2499 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
2499 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
2500 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, jis0213_1_f_249, jis0213_1_f_250, 0, 0, 0, 0, jis0213_1_f_255 |
2500 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, jis0213_1_f_249, jis0213_1_f_250, 0, 0, 0, 0, jis0213_1_f_255 |
2501 | }; |
2501 | }; |
2502 | |
2502 | |
2503 | |
2503 | |
2504 | struct rxvt_codeset_conv_jis0213_1 : rxvt_codeset_conv { |
|
|
2505 | uint32_t from_unicode (unicode_t unicode) const { |
2504 | static uint32_t cs_jis0213_1_from_unicode (unicode_t unicode) { |
2506 | if (unicode == 0x1e3e) return 0x2872; |
2505 | if (unicode == 0x1e3e) return 0x2872; |
2507 | if (unicode == 0x1e3f) return 0x2873; |
2506 | if (unicode == 0x1e3f) return 0x2873; |
2508 | if (unicode == 0x1f70) return 0x2b46; |
2507 | if (unicode == 0x1f70) return 0x2b46; |
2509 | if (unicode == 0x1f71) return 0x2b47; |
2508 | if (unicode == 0x1f71) return 0x2b47; |
2510 | if (unicode == 0x1f72) return 0x2b50; |
2509 | if (unicode == 0x1f72) return 0x2b50; |
… | |
… | |
2537 | && jis0213_1_f_i[h - 0x00]) |
2536 | && jis0213_1_f_i[h - 0x00]) |
2538 | return jis0213_1_f_i[h - 0x00][l - 0x00] |
2537 | return jis0213_1_f_i[h - 0x00][l - 0x00] |
2539 | ? jis0213_1_f_i[h - 0x00][l - 0x00] |
2538 | ? jis0213_1_f_i[h - 0x00][l - 0x00] |
2540 | : NOCHAR; |
2539 | : NOCHAR; |
2541 | return NOCHAR; |
2540 | return NOCHAR; |
2542 | } |
2541 | } |
2543 | } rxvt_codeset_conv_jis0213_1; |
|
|
2544 | |
2542 | |
2545 | #else |
2543 | #else |
2546 | |
2544 | |
2547 | #define rxvt_codeset_conv_jis0213_1 rxvt_codeset_conv_unknown |
2545 | #define cs_jis0213_1_from_unicode cs_unknown_from_unicode |
|
|
2546 | #define cs_jis0213_1_to_unicode cs_unknown_to_unicode |
2548 | |
2547 | |
2549 | #endif |
2548 | #endif |