1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/iconv.md
Vítor Henrique 5edbf734fb
pages*: improve page descriptions (#12558)
* pages*: improve page descriptions

* ical: improve page description

* cockpit-desktop: remove unneeded word from page description

* nc: improve description wording

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-04-25 19:58:21 -03:00

405 B

iconv

Convert 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