diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2013-04-04 05:54:43 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2013-04-04 05:54:43 +0200 |
| commit | 081b23757c1a534baf42f7c099bab471bf20fe83 (patch) | |
| tree | f751d0eb5f754117bcdf6767cf2600b1f67def62 /docs/source | |
| parent | e664ae1da02f87f720878c7699cc26d0a8e9e659 (diff) | |
| download | sqlparse-081b23757c1a534baf42f7c099bab471bf20fe83.tar.gz | |
Add encoding parameter to top-level functions (fixes issue20).
Diffstat (limited to 'docs/source')
| -rw-r--r-- | docs/source/api.rst | 4 |
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: |
