]> git.phdru.name Git - sqlconvert.git/blobdiff - docs/index.rst
Use encoding (default is utf-8) and unicode
[sqlconvert.git] / docs / index.rst
index 356f1d124872edffef16db48578a1a497ff03764..49cb311151e8825fa19315cc6b91e54dcf2e4a1d 100644 (file)
@@ -25,10 +25,16 @@ mysql-to-sql.py
 
 Usage::
 
-    mysql-to-sql.py [infile] [[-o] outfile]
+    mysql-to-sql.py [-e encoding] [-E output_encoding] [infile] [[-o] outfile]
 
 Options::
 
+   -e ENCODING, --encoding ENCODING
+                           input/output encoding, default is utf-8
+   -E OUTPUT_ENCODING, --output-encoding OUTPUT_ENCODING
+                           separate output encoding, default is the same as
+                           `-e` except for console; for console output charset
+                           from the current locale is used
     infile                 Input file, stdin if absent or '-'
     -o, --outfile outfile  Output file, stdout if absent or '-'