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

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

20 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 20 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
21 0xaa, 0xba, 0x00, 0x00, 0x00, 0x00, 0xab, 0xbb, 0xd7, 0xf7, 0xae, 0xbe, 0x00, 0x00, 0x00, 0x00, 21 0xaa, 0xba, 0x00, 0x00, 0x00, 0x00, 0xab, 0xbb, 0xd7, 0xf7, 0xae, 0xbe, 0x00, 0x00, 0x00, 0x00,
22 0x00, 0x00, 0xd9, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xac, 0xbc 22 0x00, 0x00, 0xd9, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xac, 0xbc
23}; 23};
24 24
25struct rxvt_codeset_conv_iso8859_10 : rxvt_codeset_conv {
26 uint32_t from_unicode (unicode_t unicode) const { 25static uint32_t cs_iso8859_10_from_unicode (unicode_t unicode) {
27 if (unicode <= 0x009f) return unicode; 26 if (unicode <= 0x009f) return unicode;
28 if (unicode == 0x2015) return 0x00bd; 27 if (unicode == 0x2015) return 0x00bd;
29 if (0x00a0 <= unicode && unicode <= 0x00fe) 28 if (0x00a0 <= unicode && unicode <= 0x00fe)
30 return iso8859_10_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_10_f_0[unicode - 0x00a0]; 29 return iso8859_10_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_10_f_0[unicode - 0x00a0];
31 if (0x0100 <= unicode && unicode <= 0x017e) 30 if (0x0100 <= unicode && unicode <= 0x017e)
32 return iso8859_10_f_256[unicode - 0x0100] == 0 ? NOCHAR : iso8859_10_f_256[unicode - 0x0100]; 31 return iso8859_10_f_256[unicode - 0x0100] == 0 ? NOCHAR : iso8859_10_f_256[unicode - 0x0100];
33 return NOCHAR; 32 return NOCHAR;
34 } 33}
35} rxvt_codeset_conv_iso8859_10;
36 34
37#else 35#else
38 36
39#define rxvt_codeset_conv_iso8859_10 rxvt_codeset_conv_unknown 37#define cs_iso8859_10_from_unicode cs_unknown_from_unicode
38#define cs_iso8859_10_to_unicode cs_unknown_to_unicode
40 39
41#endif 40#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines