tldr/pages/common/iconv.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

356 B

iconv

Converts text from one encoding to another.

  • Convert file to a specific encoding, and print to stdout:

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

  • Convert file to the current locale's encoding, and output to a file:

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

  • List supported encodings:

iconv -l