iconv_open-aix.gperf 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 AIX 5.1, look in /usr/lib/nls/loc/uconvTable.
  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, "IBM-437"
  36. CP850, "IBM-850"
  37. CP852, "IBM-852"
  38. CP856, "IBM-856"
  39. CP857, "IBM-857"
  40. CP861, "IBM-861"
  41. CP865, "IBM-865"
  42. CP869, "IBM-869"
  43. ISO-8859-13, "IBM-921"
  44. CP922, "IBM-922"
  45. CP932, "IBM-932"
  46. CP943, "IBM-943"
  47. CP1046, "IBM-1046"
  48. CP1124, "IBM-1124"
  49. CP1125, "IBM-1125"
  50. CP1129, "IBM-1129"
  51. CP1252, "IBM-1252"
  52. GB2312, "IBM-eucCN"
  53. EUC-JP, "IBM-eucJP"
  54. EUC-KR, "IBM-eucKR"
  55. EUC-TW, "IBM-eucTW"
  56. BIG5, "big5"