… | |
… | |
2304 | 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, |
2304 | 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, |
2305 | 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, jis0213_2_f_250 |
2305 | 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, jis0213_2_f_250 |
2306 | }; |
2306 | }; |
2307 | |
2307 | |
2308 | |
2308 | |
2309 | struct rxvt_codeset_conv_jis0213_2 : rxvt_codeset_conv { |
|
|
2310 | uint32_t from_unicode (unicode_t unicode) const { |
2309 | static uint32_t cs_jis0213_2_from_unicode (unicode_t unicode) { |
2311 | if (unicode == 0x3917) return 0x2c46; |
2310 | if (unicode == 0x3917) return 0x2c46; |
2312 | if (unicode == 0x391a) return 0x2c4a; |
2311 | if (unicode == 0x391a) return 0x2c4a; |
2313 | if (unicode == 0x396f) return 0x2c60; |
2312 | if (unicode == 0x396f) return 0x2c60; |
2314 | if (unicode == 0x3a6e) return 0x2d5b; |
2313 | if (unicode == 0x3a6e) return 0x2d5b; |
2315 | if (unicode == 0x3a73) return 0x2d5f; |
2314 | if (unicode == 0x3a73) return 0x2d5f; |
… | |
… | |
2365 | && jis0213_2_f_i[h - 0x34]) |
2364 | && jis0213_2_f_i[h - 0x34]) |
2366 | return jis0213_2_f_i[h - 0x34][l - 0x00] |
2365 | return jis0213_2_f_i[h - 0x34][l - 0x00] |
2367 | ? jis0213_2_f_i[h - 0x34][l - 0x00] |
2366 | ? jis0213_2_f_i[h - 0x34][l - 0x00] |
2368 | : NOCHAR; |
2367 | : NOCHAR; |
2369 | return NOCHAR; |
2368 | return NOCHAR; |
2370 | } |
2369 | } |
2371 | } rxvt_codeset_conv_jis0213_2; |
|
|
2372 | |
2370 | |
2373 | #else |
2371 | #else |
2374 | |
2372 | |
2375 | #define rxvt_codeset_conv_jis0213_2 rxvt_codeset_conv_unknown |
2373 | #define cs_jis0213_2_from_unicode cs_unknown_from_unicode |
|
|
2374 | #define cs_jis0213_2_to_unicode cs_unknown_to_unicode |
2376 | |
2375 | |
2377 | #endif |
2376 | #endif |