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 are provided as a separate package (usually named glibc-locale) normally installed by default.
iconv -f iso-8859-1
An input file
infile can be converted from ISO-8859-1 to UTF-8 and output to output file
iconv -f iso-8859-1 -t utf-8 <infile >outfile
iconv is also available for many programming languages. For example, one of the libraries supported by PHP (also under Windows using a DLL file), so it is possible to use iconv() from a PHP program easily.
|This Unix-related article is a stub. You can help Infogalactic by expanding it.|