1 /* Character set conversion.
2 Copyright (C) 2007, 2020 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, see <https://www.gnu.org/licenses/>. */
17 struct mapping { int standard_name; const char vendor_name[9 + 1]; };
20 %define slot-name standard_name
21 %define hash-function-name mapping_hash
22 %define lookup-function-name mapping_lookup
25 %define word-array-name mappings
28 # On HP-UX 11.11, look in /usr/lib/nls/iconv.
29 ISO-8859-1, "iso88591"
30 ISO-8859-2, "iso88592"
31 ISO-8859-5, "iso88595"
32 ISO-8859-6, "iso88596"
33 ISO-8859-7, "iso88597"
34 ISO-8859-8, "iso88598"
35 ISO-8859-9, "iso88599"
36 ISO-8859-15, "iso885915"
63 HP-TURKISH8, "turkish8"