- Iconv
iconv is a
computer program and a standardized API used to convert between differentcharacter encoding s.iconv API
The iconv API is the standard programming interface for converting
character string s from one character encoding to another inUnix-like operating systems.Initially appearing on theHP-UX operating system, it was standardized within XPG4 and is part of theSingle UNIX Specification (SUS).All recent
Linux distribution s contain a free implementation oficonv()
as part of theGNU C Library which is the C library for current Linux systems. To use it, the GNU glibclocale s need to be installed, which is provided as a separate package, named glibc-locale usually, and is normally installed by default.Compatibility
Under Windows, the iconv binary (and thus, likely also the API) is provided by the
Cygwin andGnuWin32 environments.Iconv is also one of the libraries supported by
PHP [http://www.php.net/iconv] (also under Windows using a DLL file), so it is possible to use iconv() from a PHP program.ee also
*
List of Unix programs
*International Components for Unicode External links
* [http://docs.hp.com/en/B2355-90130/iconv.3C.html extensive iconv() HP-UX manual page with example code]
* [http://www.opengroup.org/onlinepubs/009695399/functions/iconv.html iconv() OpenGroup Standards page]
* [http://www.iconv.org Online interface to the "iconv" program]
* [http://sourceforge.net/project/showfiles.php?group_id=147704&package_id=193433 giconv] a graphical interface to a patchedlibiconv version that recodesASMO449+ toUTF-8 Implementations of the iconv API:
* [http://www.gnu.org/software/libiconv/ GNU libiconv, a free iconv implementation] , licensed under theLGPL
** [http://www.zlatkovic.com/pub/libxml libiconv, compiled as .dll for Windows]
* [http://www.freshports.org/converters/iconv/ FreeBSD port of iconv]
* [http://citrus.bsdclub.org/ Citrus] , the NetBSD clib implementation, under NetBSD license (assumed)
Wikimedia Foundation. 2010.