mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-28 11:22:08 +03:00
16 lines
291 B
Markdown
16 lines
291 B
Markdown
|
# 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`
|