mirror of https://github.com/CrimsonTome/tldr.git
Added docs for iconv
parent
8673f24231
commit
129f3cdc3a
|
@ -0,0 +1,15 @@
|
||||||
|
# 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`
|
Loading…
Reference in New Issue