Another patch related to #1539 (simplifying unicode bad chars and preventing double encoding of safe chars)

This commit is contained in:
Miroslav Stampar
2015-11-16 15:02:30 +01:00
parent ca933fcf1d
commit 5593bf2fee
4 changed files with 14 additions and 11 deletions

View File

@@ -2954,6 +2954,10 @@ def decodeIntToUnicode(value):
retVal = unichr(value)
else:
retVal = getUnicode(raw, conf.charset)
if Backend.isDbms(DBMS.MYSQL):
import pdb
pdb.set_trace()
else:
retVal = getUnicode(chr(value))
except: