1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Linux / Unix Command: iconv
Command Library


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


iconv -f encoding -t encoding inputfile  


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 known coded character sets

--output, -o file

Specify output file (instead of stdout)


Print progress information.  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

  1. About.com
  2. Tech
  3. Linux

©2015 About.com. All rights reserved.