Added docs for iconv

waldyrious/alt-syntax
Erik Vesteraas 2014-09-03 22:21:30 +02:00
parent 8673f24231
commit 129f3cdc3a
1 changed files with 15 additions and 0 deletions

15
pages/common/iconv.md Normal file
View File

@ -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`