ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/table/jis0201_1976_0.h
Revision: 1.5
Committed: Sat Apr 11 18:27:25 2015 UTC (9 years, 1 month ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_29, rxvt-unicode-rel-9_26, rxvt-unicode-rel-9_25, rxvt-unicode-rel-9_22, rxvt-unicode-rel-9_30, HEAD
Changes since 1.4: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

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