From 081b23757c1a534baf42f7c099bab471bf20fe83 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Thu, 4 Apr 2013 05:54:43 +0200 Subject: Add encoding parameter to top-level functions (fixes issue20). --- docs/source/api.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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: -- cgit v1.2.1