Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac3794 commit 367de83Copy full SHA for 367de83
1 file changed
lib/core/common.py
@@ -2538,7 +2538,7 @@ def decodeIntToUnicode(value):
2538
"""
2539
try:
2540
# http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_ord
2541
- if Backend.getIdentifiedDbms() in (DBMS.MYSQL,):
+ if Backend.getIdentifiedDbms() in (DBMS.MYSQL,) or conf.charset:
2542
return struct.pack('B' if value < 256 else '<H', value).decode(kb.pageEncoding or UNICODE_ENCODING)
2543
else:
2544
return unichr(value)
0 commit comments