LinuxGuide.it > Linux Man Page: "iconv"

 

 
Search with Google

 

The Linux Documentation Project maintains an archive of snaphots of the (English language) core Linux manual pages that are maintained by Michael Kerrisk. Corrections and additions are welcome, but review the "Help Wanted" list, first.

Man pages belonging to programs are usually distributed together with those programs. Therefore, the core Linux man-pages mainly contains the pages for system calls and library routines, special devices, and file formats. However, it also contains documentation for a few programs, in cases where the authors or maintainers of the program do not distribute man pages themselves.

This page is part of release 3.11 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages

 

man page(1) manual page Table of Contents

Name

iconv - Convert encoding of given files from one encoding to another

Synopsis

iconv -f encoding -t encoding inputfile

Description

The iconv program converts the encoding of characters in inputfile from one coded character set to another. The result is written to standard output unless otherwise specified by the --output option.

--from-code, -f encoding

Convert characters from encoding

--to-code, -t encoding

Convert characters to encoding

--list

List known coded character sets

--output, -o file

Specify output file (instead of stdout)

--verbose

Print progress information.

Examples

Following examples convert from code set ISO88592 “input.txt” to UTF8 code set or ASCII and stores the result as “output.txt".

iconv -f ISO88592 -t UTF8 < input.txt > output.txt

iconv -f ISO88592 -t ASCII//TRANSLIT < input.txt > output.txt

Author

iconv is written by Ulrich Drepper as part of the GNU C Library.

This man page is written by Joel Klecker <espy@debian.org>, for the Debian GNU/Linux system.


Table of Contents

use open software!