Commit | Line | Data |
---|---|---|
8912421c LC |
1 | struct mapping { int standard_name; const char vendor_name[10 + 1]; }; |
2 | %struct-type | |
3 | %language=ANSI-C | |
4 | %define slot-name standard_name | |
5 | %define hash-function-name mapping_hash | |
6 | %define lookup-function-name mapping_lookup | |
7 | %readonly-tables | |
8 | %global-table | |
9 | %define word-array-name mappings | |
10 | %pic | |
11 | %% | |
12 | # On Solaris 10, look in the "iconv -l" output. Some aliases are advertised but | |
13 | # not actually supported by the iconv() function and by the 'iconv' program. | |
14 | # For example: | |
15 | # $ echo abc | iconv -f 646 -t ISO-8859-1 | |
16 | # Not supported 646 to ISO-8859-1 | |
17 | # $ echo abc | iconv -f 646 -t ISO8859-1 | |
18 | $ abc | |
19 | ASCII, "646" | |
20 | ISO-8859-1, "ISO8859-1" | |
21 | ISO-8859-2, "ISO8859-2" | |
22 | ISO-8859-3, "ISO8859-3" | |
23 | ISO-8859-4, "ISO8859-4" | |
24 | ISO-8859-5, "ISO8859-5" | |
25 | ISO-8859-6, "ISO8859-6" | |
26 | ISO-8859-7, "ISO8859-7" | |
27 | ISO-8859-8, "ISO8859-8" | |
28 | ISO-8859-9, "ISO8859-9" | |
29 | ISO-8859-15, "ISO8859-15" | |
30 | CP1251, "ansi-1251" |