Iconv

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire

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

Contents

iconv API

The iconv API is the standard programming interface for converting character strings from one character encoding to another in Unix-like operating systems. Initially appearing on the HP-UX operating system, it was standardized within XPG4 and is part of the Single UNIX Specification (SUS).

All recent Linux distributions contain a free implementation of iconv() as part of the GNU C Library which is the C library for current Linux systems. To use it, the GNU glibc locales 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 and GnuWin32 environments.

Iconv is also one of the libraries supported by PHP[1] (also under Windows using a DLL file), so it is possible to use iconv() from a PHP program.

See also

External links

Implementations of the iconv API:

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net