iconv_open-zos.gperf 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /* Character set conversion.
  2. Copyright (C) 2019-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. ASCII, "00367"
  25. ISO-8859-1, "ISO8859-1"
  26. ISO-8859-2, "ISO8859-2"
  27. ISO-8859-3, "00913"
  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, "05012"
  33. ISO-8859-9, "ISO8859-9"
  34. ISO-8859-13, "ISO8859-13"
  35. ISO-8859-15, "ISO8859-15"
  36. KOI8-R, "00878"
  37. KOI8-U, "01168"
  38. CP437, "IBM-437"
  39. CP775, "00775"
  40. CP850, "09042"
  41. CP852, "IBM-852"
  42. CP855, "13143"
  43. CP856, "IBM-856"
  44. CP857, "00857"
  45. CP861, "IBM-861"
  46. CP862, "IBM-862"
  47. CP864, "IBM-864"
  48. CP865, "00865"
  49. CP866, "04962"
  50. CP869, "IBM-869"
  51. CP874, "TIS-620"
  52. CP922, "IBM-922"
  53. CP932, "IBM-943"
  54. CP943, "IBM-943"
  55. CP949, "IBM-1363"
  56. CP1046, "IBM-1046"
  57. CP1124, "IBM-1124"
  58. CP1125, "IBM-1125"
  59. CP1129, "01129"
  60. CP1131, "01131"
  61. CP1250, "IBM-5346"
  62. CP1251, "IBM-5347"
  63. CP1252, "IBM-5348"
  64. CP1253, "IBM-5349"
  65. CP1254, "IBM-5350"
  66. CP1255, "09447"
  67. CP1256, "09448"
  68. CP1257, "09449"
  69. GB2312, "IBM-eucCN"
  70. EUC-JP, "01350"
  71. EUC-KR, "IBM-eucKR"
  72. GBK, "IBM-1386"