Jump to content

Iconv: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
extended, still at stub level
compatability section started
Line 11: Line 11:


To use it, the GNU glibc [[locales]] need to be installed, which is provided a a separate package, named glibc-localue usually, and is normally installed by default.
To use it, the GNU glibc [[locales]] need to be installed, which is provided a a separate package, named glibc-localue usually, and is normally installed by default.

===Compatability===
Under [[Windows]], the iconv binary (and thus, likely also the API) is provided by
the [[Cygwin]] and [[GnuWin32]] environments.

Iconv is also one of the libaries supported by [[PHP]], so it may be possible to used iconv() from a PHP program.

''See also: [[List of Unix programs]]''
==external links==
==external links==
*[http://docs.hp.com/en/B2355-90130/iconv.3C.html extensive iconv() HP-UX manual page with example code]
*[http://docs.hp.com/en/B2355-90130/iconv.3C.html extensive iconv() HP-UX manual page with example code]

Revision as of 14:12, 15 February 2006


iconv is a computer program and an standardized API used to convert between different character encodings.

iconv API

The iconv API is the standard programming interface for converting character strings from one charater encoding to another under Unix and Unix-like computing platforms. Initially appearing on the HP-UX operating system, it got standardized within XPG4 and may be even part of the IEEE Std 1003.1, 2004 Edition POSIX spec.

All recent Linux distributions contain an excellent free implementation of iconv() as part of the GNU glibc which is the base of any recent Linux system.

To use it, the GNU glibc locales need to be installed, which is provided a a separate package, named glibc-localue usually, and is normally installed by default.

Compatability

Under Windows, the iconv binary (and thus, likely also the API) is provided by the Cygwin and GnuWin32 environments.

Iconv is also one of the libaries supported by PHP, so it may be possible to used iconv() from a PHP program.

See also: List of Unix programs

Implementations of the iconv API: