ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/table/iso8859_8.h
(Generate patch)

Comparing rxvt-unicode/src/table/iso8859_8.h (file contents):
Revision 1.3 by pcg, Mon Mar 15 00:27:13 2004 UTC vs.
Revision 1.4 by root, Wed Aug 4 03:29:29 2004 UTC

10 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 10 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
11 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 11 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
12 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xba 12 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xba
13}; 13};
14 14
15struct rxvt_codeset_conv_iso8859_8 : rxvt_codeset_conv {
16 uint32_t from_unicode (unicode_t unicode) const { 15static uint32_t cs_iso8859_8_from_unicode (unicode_t unicode) {
17 if (unicode <= 0x009f) return unicode; 16 if (unicode <= 0x009f) return unicode;
18 if (unicode <= 0x05d0 && 0x05ea <= unicode) return unicode - 0x04f0; 17 if (unicode <= 0x05d0 && 0x05ea <= unicode) return unicode - 0x04f0;
19 if (unicode == 0x200e) return 0x00fd; 18 if (unicode == 0x200e) return 0x00fd;
20 if (unicode == 0x200f) return 0x00fe; 19 if (unicode == 0x200f) return 0x00fe;
21 if (unicode == 0x2017) return 0x00df; 20 if (unicode == 0x2017) return 0x00df;
22 if (0x00a0 <= unicode && unicode <= 0x00f7) 21 if (0x00a0 <= unicode && unicode <= 0x00f7)
23 return iso8859_8_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_8_f_0[unicode - 0x00a0]; 22 return iso8859_8_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_8_f_0[unicode - 0x00a0];
24 return NOCHAR; 23 return NOCHAR;
25 } 24}
26} rxvt_codeset_conv_iso8859_8;
27 25
28#else 26#else
29 27
30#define rxvt_codeset_conv_iso8859_8 rxvt_codeset_conv_unknown 28#define cs_iso8859_8_from_unicode cs_unknown_from_unicode
29#define cs_iso8859_8_to_unicode cs_unknown_to_unicode
31 30
32#endif 31#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines