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

Comparing rxvt-unicode/src/table/iso8859_9.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

17 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 17 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
18 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 18 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
19 0xde, 0xfe 19 0xde, 0xfe
20}; 20};
21 21
22struct rxvt_codeset_conv_iso8859_9 : rxvt_codeset_conv {
23 uint32_t from_unicode (unicode_t unicode) const { 22static uint32_t cs_iso8859_9_from_unicode (unicode_t unicode) {
24 if (unicode <= 0x009f) return unicode; 23 if (unicode <= 0x009f) return unicode;
25 if (0x00a0 <= unicode && unicode <= 0x00ff) 24 if (0x00a0 <= unicode && unicode <= 0x00ff)
26 return iso8859_9_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_9_f_0[unicode - 0x00a0]; 25 return iso8859_9_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_9_f_0[unicode - 0x00a0];
27 if (0x011e <= unicode && unicode <= 0x015f) 26 if (0x011e <= unicode && unicode <= 0x015f)
28 return iso8859_9_f_256[unicode - 0x011e] == 0 ? NOCHAR : iso8859_9_f_256[unicode - 0x011e]; 27 return iso8859_9_f_256[unicode - 0x011e] == 0 ? NOCHAR : iso8859_9_f_256[unicode - 0x011e];
29 return NOCHAR; 28 return NOCHAR;
30 } 29}
31} rxvt_codeset_conv_iso8859_9;
32 30
33#else 31#else
34 32
35#define rxvt_codeset_conv_iso8859_9 rxvt_codeset_conv_unknown 33#define cs_iso8859_9_from_unicode cs_unknown_from_unicode
34#define cs_iso8859_9_to_unicode cs_unknown_to_unicode
36 35
37#endif 36#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines