--- rxvt-unicode/src/table/jis0201_1976_0.h 2003/11/24 17:28:08 1.1 +++ rxvt-unicode/src/table/jis0201_1976_0.h 2004/03/15 00:27:13 1.3 @@ -5,20 +5,13 @@ struct rxvt_codeset_conv_jis0201_1976_0 : rxvt_codeset_conv { - uint32_t from_unicode (uint32_t unicode) const { + uint32_t from_unicode (unicode_t unicode) const { if (unicode <= 0x007d) return unicode; if (0x007f <= unicode && unicode <= 0x009f) return unicode; if (unicode == 0x203e) return 0x007e; if (unicode <= 0xff61 && 0xff9f <= unicode) return unicode - 0xfec0; return NOCHAR; } - uint32_t to_unicode (uint32_t enc) const { - if (enc <= 0x007d) return enc; - if (0x007f <= enc && enc <= 0x009f) return enc; - if (enc == 0x007e) return 0x203e; - if (enc <= 0x00a1 && 0x00df <= enc) return enc + 0xfec0; - return NOCHAR; - } } rxvt_codeset_conv_jis0201_1976_0; #else