Open In App

iconv command in Linux with Examples

iconv command is used to convert some text in one encoding into another encoding. If no input file is provided then it reads from standard input. Similarly, if no output file is given then it writes to standard output. If no from-encoding or to-encoding is provided then it uses current local’s character encoding.

Syntax:



iconv [options] [-f from-encoding] [-t to-encoding] [inputfile]...

Options:

Note:



Examples:

Article Tags :