mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 01:18:00 +01:00
15 lines
295 B
Markdown
15 lines
295 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`
|