Ver Fonte

Added docs for iconv

Erik Vesteraas há 10 anos atrás
pai
commit
129f3cdc3a
1 ficheiros alterados com 15 adições e 0 exclusões
  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`