Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,19 +1,19 @@
# enca
> Detect and convert encoding of text files
> Detect and convert encoding of text files.
- detect file(s) encoding according to your system's locale
- Detect file(s) encoding according to your system's locale:
`enca {{file(s)}}`
- detect file(s) encoding; -L option tells enca the current language; language is in the POSIX/C locale format, e.g. zh_CN, en_US etc.
- Detect file(s) encoding; -L option tells enca the current language; language is in the POSIX/C locale format, e.g. zh_CN, en_US etc:
`enca -L {{language}} {{file(s)}}`
- convert file(s) to specified encoding
- Convert file(s) to specified encoding:
`enca -L {{language}} -x {{to_encoding}} {{file(s)}}`
- save original_file as new_file and convert new_file to specified encoding
- Save original_file as new_file and convert new_file to specified encoding:
`enca -L {{language}} -x {{to_encoding}} < {{original_file}} > {{new_file}}`