Erik Vesteraas 10 роки тому
батько
коміт
129f3cdc3a
1 змінених файлів з 15 додано та 0 видалено
  1. 15 0
      pages/common/iconv.md

+ 15 - 0
pages/common/iconv.md

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