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

Comparing rxvt-unicode/src/table/iso8859_14.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:28 2004 UTC

37 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 37 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
38 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 38 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
39 0xac, 0xbc 39 0xac, 0xbc
40}; 40};
41 41
42struct rxvt_codeset_conv_iso8859_14 : rxvt_codeset_conv {
43 uint32_t from_unicode (unicode_t unicode) const { 42static uint32_t cs_iso8859_14_from_unicode (unicode_t unicode) {
44 if (unicode <= 0x009f) return unicode; 43 if (unicode <= 0x009f) return unicode;
45 if (0x00a0 <= unicode && unicode <= 0x00ff) 44 if (0x00a0 <= unicode && unicode <= 0x00ff)
46 return iso8859_14_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_14_f_0[unicode - 0x00a0]; 45 return iso8859_14_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_14_f_0[unicode - 0x00a0];
47 if (0x010a <= unicode && unicode <= 0x0178) 46 if (0x010a <= unicode && unicode <= 0x0178)
48 return iso8859_14_f_256[unicode - 0x010a] == 0 ? NOCHAR : iso8859_14_f_256[unicode - 0x010a]; 47 return iso8859_14_f_256[unicode - 0x010a] == 0 ? NOCHAR : iso8859_14_f_256[unicode - 0x010a];
49 if (0x1e02 <= unicode && unicode <= 0x1ef3) 48 if (0x1e02 <= unicode && unicode <= 0x1ef3)
50 return iso8859_14_f_7680[unicode - 0x1e02] == 0 ? NOCHAR : iso8859_14_f_7680[unicode - 0x1e02]; 49 return iso8859_14_f_7680[unicode - 0x1e02] == 0 ? NOCHAR : iso8859_14_f_7680[unicode - 0x1e02];
51 return NOCHAR; 50 return NOCHAR;
52 } 51}
53} rxvt_codeset_conv_iso8859_14;
54 52
55#else 53#else
56 54
57#define rxvt_codeset_conv_iso8859_14 rxvt_codeset_conv_unknown 55#define cs_iso8859_14_from_unicode cs_unknown_from_unicode
56#define cs_iso8859_14_to_unicode cs_unknown_to_unicode
58 57
59#endif 58#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines