System Grab Bag

View all TLDR pages from common (or from all pages)

iconv

Converts text from one encoding to another. More information: https://manned.org/iconv.
  • 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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.