Another patch for #1539

This commit is contained in:
Miroslav Stampar 2015-11-16 14:08:43 +01:00
parent a212f0c240
commit ca933fcf1d

View File

@ -2950,7 +2950,7 @@ def decodeIntToUnicode(value):
if Backend.isDbms(DBMS.MSSQL): if Backend.isDbms(DBMS.MSSQL):
retVal = getUnicode(raw, "UTF-16-BE") retVal = getUnicode(raw, "UTF-16-BE")
elif Backend.isDbms(DBMS.PGSQL): elif Backend.getIdentifiedDbms() in (DBMS.PGSQL, DBMS.ORACLE):
retVal = unichr(value) retVal = unichr(value)
else: else:
retVal = getUnicode(raw, conf.charset) retVal = getUnicode(raw, conf.charset)