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

Comparing rxvt-unicode/src/table/iso8859_5.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 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0xe0, 10 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0xe0,
11 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, 0x00, 11 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, 0x00,
12 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0x00, 0xfe, 0xff 12 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0x00, 0xfe, 0xff
13}; 13};
14 14
15struct rxvt_codeset_conv_iso8859_5 : rxvt_codeset_conv {
16 uint32_t from_unicode (unicode_t unicode) const { 15static uint32_t cs_iso8859_5_from_unicode (unicode_t unicode) {
17 if (unicode <= 0x009f) return unicode; 16 if (unicode <= 0x009f) return unicode;
18 if (unicode == 0x00a0) return 0x00a0; 17 if (unicode == 0x00a0) return 0x00a0;
19 if (unicode == 0x00a7) return 0x00fd; 18 if (unicode == 0x00a7) return 0x00fd;
20 if (unicode == 0x00ad) return 0x00ad; 19 if (unicode == 0x00ad) return 0x00ad;
21 if (unicode == 0x2116) return 0x00f0; 20 if (unicode == 0x2116) return 0x00f0;
22 if (0x0401 <= unicode && unicode <= 0x045f) 21 if (0x0401 <= unicode && unicode <= 0x045f)
23 return iso8859_5_f_1024[unicode - 0x0401] == 0 ? NOCHAR : iso8859_5_f_1024[unicode - 0x0401]; 22 return iso8859_5_f_1024[unicode - 0x0401] == 0 ? NOCHAR : iso8859_5_f_1024[unicode - 0x0401];
24 return NOCHAR; 23 return NOCHAR;
25 } 24}
26} rxvt_codeset_conv_iso8859_5;
27 25
28#else 26#else
29 27
30#define rxvt_codeset_conv_iso8859_5 rxvt_codeset_conv_unknown 28#define cs_iso8859_5_from_unicode cs_unknown_from_unicode
29#define cs_iso8859_5_to_unicode cs_unknown_to_unicode
31 30
32#endif 31#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines