summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/lexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/lexer.py b/sqlparse/lexer.py
index 914b520..82d4380 100644
--- a/sqlparse/lexer.py
+++ b/sqlparse/lexer.py
@@ -44,7 +44,7 @@ class Lexer(object):
pass
elif isinstance(text, bytes_type):
try:
- text = text.decode()
+ text = text.decode('utf-8')
except UnicodeDecodeError:
if not encoding:
encoding = 'unicode-escape'