Proper patch for an Issue #1539

This commit is contained in:
Miroslav Stampar 2015-11-16 11:59:09 +01:00
parent fb2cb25afe
commit 9c69f56a34

View File

@ -2944,7 +2944,7 @@ def decodeIntToUnicode(value):
try: try:
if value > 255: if value > 255:
if Backend.isDbms(DBMS.MSSQL): if Backend.isDbms(DBMS.MSSQL):
encoding="UTF-16-LE" if isDBMSVersionAtLeast("2012") else "UTF-16-BE" encoding = "UTF-16-BE"
else: else:
encoding = conf.charset encoding = conf.charset