summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/api.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/api.rst b/docs/source/api.rst
index 2531c9b..99e50e2 100644
--- a/docs/source/api.rst
+++ b/docs/source/api.rst
@@ -12,6 +12,10 @@ The :mod:`sqlparse` module provides the following functions on module-level.
.. autofunction:: sqlparse.parse
+In most cases there's no need to set the `encoding` parameter. If
+`encoding` is not set, sqlparse assumes that the given SQL statement
+is encoded either in utf-8 or latin-1.
+
.. _formatting: