iconv_open-osf.gperf 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /* Character set conversion.
  2. Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU Lesser General Public License as published by
  5. the Free Software Foundation; either version 2, or (at your option)
  6. any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public License along
  12. with this program; if not, see <https://www.gnu.org/licenses/>. */
  13. struct mapping { int standard_name; const char vendor_name[10 + 1]; };
  14. %struct-type
  15. %language=ANSI-C
  16. %define slot-name standard_name
  17. %define hash-function-name mapping_hash
  18. %define lookup-function-name mapping_lookup
  19. %readonly-tables
  20. %global-table
  21. %define word-array-name mappings
  22. %pic
  23. %%
  24. # On OSF/1 5.1, look in /usr/lib/nls/loc/iconv.
  25. ISO-8859-1, "ISO8859-1"
  26. ISO-8859-2, "ISO8859-2"
  27. ISO-8859-3, "ISO8859-3"
  28. ISO-8859-4, "ISO8859-4"
  29. ISO-8859-5, "ISO8859-5"
  30. ISO-8859-6, "ISO8859-6"
  31. ISO-8859-7, "ISO8859-7"
  32. ISO-8859-8, "ISO8859-8"
  33. ISO-8859-9, "ISO8859-9"
  34. ISO-8859-15, "ISO8859-15"
  35. CP437, "cp437"
  36. CP775, "cp775"
  37. CP850, "cp850"
  38. CP852, "cp852"
  39. CP855, "cp855"
  40. CP857, "cp857"
  41. CP861, "cp861"
  42. CP862, "cp862"
  43. CP865, "cp865"
  44. CP866, "cp866"
  45. CP869, "cp869"
  46. CP874, "cp874"
  47. CP949, "KSC5601"
  48. CP1250, "cp1250"
  49. CP1251, "cp1251"
  50. CP1252, "cp1252"
  51. CP1253, "cp1253"
  52. CP1254, "cp1254"
  53. CP1255, "cp1255"
  54. CP1256, "cp1256"
  55. CP1257, "cp1257"
  56. CP1258, "cp1258"
  57. EUC-JP, "eucJP"
  58. EUC-KR, "eucKR"
  59. EUC-TW, "eucTW"
  60. BIG5, "big5"
  61. SHIFT_JIS, "SJIS"
  62. TIS-620, "TACTIS"