ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/table/jis0201_1976_0.h
Revision: 1.3
Committed: Mon Mar 15 00:27:13 2004 UTC (20 years, 3 months ago) by pcg
Content type: text/plain
Branch: MAIN
CVS Tags: rel-2_8, rel-2_7, rel-2_4, rel-2_5, rel-3_3, rel-3_2, rel-3_0
Changes since 1.1: +1 -8 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 //
2 // AUTOMATICALLLY GENERATED by gentables
3 //
4 #ifdef ENCODING_JP
5
6
7 struct rxvt_codeset_conv_jis0201_1976_0 : rxvt_codeset_conv {
8 uint32_t from_unicode (unicode_t unicode) const {
9 if (unicode <= 0x007d) return unicode;
10 if (0x007f <= unicode && unicode <= 0x009f) return unicode;
11 if (unicode == 0x203e) return 0x007e;
12 if (unicode <= 0xff61 && 0xff9f <= unicode) return unicode - 0xfec0;
13 return NOCHAR;
14 }
15 } rxvt_codeset_conv_jis0201_1976_0;
16
17 #else
18
19 #define rxvt_codeset_conv_jis0201_1976_0 rxvt_codeset_conv_unknown
20
21 #endif