Search notes:

Shell command: recode

recode converts text from one character encoding to another. Unlike iconv, it is able to do that inplace (on the original file).

Example

The following command converts my-file.txt from UTF-8 to Latin-1 (ISO-8859-1).
recode utf8..ISO-8859-1 my-file.txt

See also

file can be used to determine the encoding of files.
Some known character encodings
Shell commands

Index