1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 23:17:56 +01:00
tldr/pages/common/iconv.md
2016-01-08 09:38:59 +01:00

295 B

iconv

Converts text from one encoding to another.

  • Convert file and print to stdout:

iconv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}

  • Convert file to current locale:

iconv -f {{from_encoding}} {{input_file}} > {{output_file}}

  • List supported encodings:

iconv -l