12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- /* Character set conversion.
- Copyright (C) 2007, 2020-2023 Free Software Foundation, Inc.
- This file is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of the
- License, or (at your option) any later version.
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>. */
- struct mapping { int standard_name; const char vendor_name[10 + 1]; };
- %struct-type
- %language=ANSI-C
- %define slot-name standard_name
- %define hash-function-name mapping_hash
- %define lookup-function-name mapping_lookup
- %readonly-tables
- %global-table
- %define word-array-name mappings
- %pic
- %%
- # On OSF/1 5.1, look in /usr/lib/nls/loc/iconv.
- ISO-8859-1, "ISO8859-1"
- ISO-8859-2, "ISO8859-2"
- ISO-8859-3, "ISO8859-3"
- ISO-8859-4, "ISO8859-4"
- ISO-8859-5, "ISO8859-5"
- ISO-8859-6, "ISO8859-6"
- ISO-8859-7, "ISO8859-7"
- ISO-8859-8, "ISO8859-8"
- ISO-8859-9, "ISO8859-9"
- ISO-8859-15, "ISO8859-15"
- CP437, "cp437"
- CP775, "cp775"
- CP850, "cp850"
- CP852, "cp852"
- CP855, "cp855"
- CP857, "cp857"
- CP861, "cp861"
- CP862, "cp862"
- CP865, "cp865"
- CP866, "cp866"
- CP869, "cp869"
- CP874, "cp874"
- CP949, "KSC5601"
- CP1250, "cp1250"
- CP1251, "cp1251"
- CP1252, "cp1252"
- CP1253, "cp1253"
- CP1254, "cp1254"
- CP1255, "cp1255"
- CP1256, "cp1256"
- CP1257, "cp1257"
- CP1258, "cp1258"
- EUC-JP, "eucJP"
- EUC-KR, "eucKR"
- EUC-TW, "eucTW"
- BIG5, "big5"
- SHIFT_JIS, "SJIS"
- TIS-620, "TACTIS"
|