Iconv
Encyclopedia : I : IC : ICO : Iconv
- The correct title of this } is }}}. The initial letter is capitalized due to [Naming conventions #Lower case first lettertechnical restrictions].
See also: List of Unix programs
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 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[link] (also under Windows using a dll), so it is possible to use iconv() from a PHP program.
iconv is also required by libxml, so any application which uses libxml also requires iconv.
See also
External links
- [extensive iconv() HP-UX manual page with example code]
- [iconv() OpenGroup Standards page]
- [Online interface to the iconv program]
- [giconv] a graphical interface to a patched libiconv version that recodes ASMO449+ to UTF-8]
- [GNU libiconv, a free iconv implementation], licensed under the LGPL
- *[libiconv, compiled as .dll for Windows]
- [FreeBSD port of iconv], under FreeBSD license (assumed)
| Unix command line programs ( ) | |||
| File and file system management: | cat | chdir/cd | chmod | chown | chgrp | cp | du | df | fdupes | file | fsck | ln | ls | lsof | mkdir | more | mount | mv | pwd | rcp | rm | rmdir | split | touch | tree | ||
| Process management: | anacron | at | chroot | cron/crontab | kill | nice | ps | sleep | time | timex | top | renice | wait | ||
| User Management/Environment: | env | finger | id | locale | mesg | passwd | su | sudo | uname | uptime | w | who | write | ||
| Text processing: | awk | cut | diff | ex | head | iconv | join | less | more | nkf | paste | sed | sort | tail | tr | uniq | wc | xargs | ||
| Shell programming: | echo | expr | unset | Printing: | lp |
| Communications: inetd | netstat | ping | rlogin | traceroute | Searching: egrep | fgrep | find | grep | strings | Miscellaneous: banner | bc | cal | man | uname | wall | yes | |
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
