opnsense-src/tools/test/iconv/ref
Gabor Kovesdan ad30f8e79b Add the BSD-licensed Citrus iconv to the base system with default off
setting. It can be built by setting the WITH_ICONV knob. While this
knob is unset, the library part, the binaries, the header file and
the metadata files will not be built or installed so it makes no impact
on the system if left turned off.

This work is based on the iconv implementation in NetBSD but a great
number of improvements and feature additions have been included:

- Some utilities have been added. There is a conversion table generator,
  which can compare conversion tables to reference data generated by
  GNU libiconv. This helps ensuring conversion compatibility.
- UTF-16 surrogate support and some endianness issues have been fixed.
- The rather chaotic Makefiles to build metadata have been refactored
  and cleaned up, now it is easy to read and it is also easier to add
  support for new encodings.
- A bunch of new encodings and encoding aliases have been added.
- Support for 1->2, 1->3 and 1->4 mappings, which is needed for
  transliterating with flying accents as GNU does, like "u.
- Lots of warnings have been fixed, the major part of the code is
  now WARNS=6 clean.
- New section 1 and section 5 manual pages have been added.
- Some GNU-specific calls have been implemented:
  iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into()
- Support for GNU's //IGNORE suffix has been added.
- The "-" argument for stdin is now recognized in iconv(1) as per POSIX.
- The Big5 conversion module has been fixed.
- The iconv.h header files is supposed to be compatible with the
  GNU version, i.e. sources should build with base iconv.h and
  GNU libiconv. It also includes a macro magic to deal with the
  char ** and const char ** incompatibility.
- GNU compatibility: "" or "char" means the current local
  encoding in use
- Various cleanups and style(9) fixes.

Approved by:	delphij (mentor)
Obtained from:	The NetBSD Project
Sponsored by:	Google Summer of Code 2009
2011-02-25 00:04:39 +00:00
..
ARMSCII-8
ARMSCII-8-rev
ASCII
ASCII-rev
ATARIST
ATARIST-rev Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
BIG5
BIG5-2003
BIG5-2003-rev
BIG5-HKSCS
BIG5-HKSCS-rev
BIG5-rev
BIG5HKSCS
BIG5HKSCS-rev
C99
C99-rev Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
CP437
CP437-rev
CP737
CP737-rev
CP775
CP775-rev
CP850
CP850-rev
CP852
CP852-rev
CP853
CP853-rev
CP855
CP855-rev
CP856
CP856-rev
CP857
CP857-rev
CP858
CP858-rev
CP860
CP860-rev
CP861
CP861-rev
CP862
CP862-rev
CP863
CP863-rev
CP864
CP864-rev
CP865
CP865-rev
CP866
CP866-rev
CP869
CP869-rev
CP874
CP874-rev
CP922
CP922-rev
CP932
CP932-rev
CP936
CP936-rev
CP943
CP943-rev
CP949
CP949-rev
CP950
CP950-rev
CP1046
CP1046-rev
CP1124
CP1124-rev
CP1125
CP1125-rev
CP1129
CP1129-rev
CP1131
CP1131-rev
CP1133
CP1133-rev
CP1161
CP1161-rev
CP1162
CP1162-rev
CP1163
CP1163-rev
CP1250
CP1250-rev
CP1251
CP1251-rev
CP1252
CP1252-rev
CP1253
CP1253-rev
CP1254
CP1254-rev
CP1255
CP1255-rev
CP1256
CP1256-rev
CP1257
CP1257-rev
CP1258
CP1258-rev
DEC-HANYU
DEC-HANYU-rev
EUC-CN
EUC-CN-rev
EUC-JIS-2004
EUC-JIS-2004-rev
EUC-JP
EUC-JP-rev
EUC-KR
EUC-KR-rev
EUC-TW
EUC-TW-rev
GB2312
GB2312-rev
GB18030
GB18030-rev
GBK
GBK-rev
GEORGIAN-ACADEMY
GEORGIAN-ACADEMY-rev
GEORGIAN-PS
GEORGIAN-PS-rev
HP-ROMAN8
HP-ROMAN8-rev
HZ
HZ-rev
ISO-2022-CN
ISO-2022-CN-EXT
ISO-2022-CN-EXT-rev
ISO-2022-CN-rev
ISO-2022-JP
ISO-2022-JP-1
ISO-2022-JP-1-rev
ISO-2022-JP-2
ISO-2022-JP-2-rev
ISO-2022-JP-2004
ISO-2022-JP-2004-rev
ISO-2022-JP-rev
ISO-2022-KR
ISO-2022-KR-rev
ISO-IR-14
ISO-IR-14-rev
ISO-IR-57
ISO-IR-57-rev
ISO-IR-165
ISO-IR-165-rev
ISO8859-1
ISO8859-1-rev
ISO8859-2
ISO8859-2-rev
ISO8859-3
ISO8859-3-rev
ISO8859-4
ISO8859-4-rev
ISO8859-5
ISO8859-5-rev
ISO8859-6
ISO8859-6-rev
ISO8859-7
ISO8859-7-rev
ISO8859-8
ISO8859-8-rev
ISO8859-9
ISO8859-9-rev
ISO8859-10
ISO8859-10-rev
ISO8859-11
ISO8859-11-rev
ISO8859-13
ISO8859-13-rev
ISO8859-14
ISO8859-14-rev
ISO8859-15
ISO8859-15-rev
ISO8859-16
ISO8859-16-rev
JAVA
JAVA-rev
JIS_X0201
JIS_X0201-rev
JIS_X0208-1990
JIS_X0208-1990-rev
JOHAB
JOHAB-rev
KOI8-R
KOI8-R-rev
KOI8-RU
KOI8-RU-rev
KOI8-T
KOI8-T-rev
KOI8-U
KOI8-U-rev
KZ-1048
KZ-1048-rev
MACARABIC
MACARABIC-rev
MACCENTRALEUROPE
MACCENTRALEUROPE-rev
MACCROATIAN
MACCROATIAN-rev
MACCYRILLIC
MACCYRILLIC-rev
MACGREEK
MACGREEK-rev
MACHEBREW
MACHEBREW-rev
MACICELAND
MACICELAND-rev
MACROMAN
MACROMAN-rev
MACROMANIA
MACROMANIA-rev Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
MACTHAI
MACTHAI-rev
MACTURKISH
MACTURKISH-rev
MACUKRAINE
MACUKRAINE-rev
MULELAO-1
MULELAO-1-rev
NEXTSTEP
NEXTSTEP-rev
PT154
PT154-rev
RISCOS-LATIN1
RISCOS-LATIN1-rev
SHIFT_JIS
SHIFT_JIS-rev
TCVN5712-1
TCVN5712-1-rev
TDS565
TDS565-rev
UTF-7
UTF-7-rev
UTF-8
UTF-8-rev
UTF-16BE
UTF-16BE-rev
UTF-16LE
UTF-16LE-rev
UTF-32BE
UTF-32BE-rev
UTF-32LE Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
UTF-32LE-rev
VISCII Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
VISCII-rev