Closed
Description
-
What versions are you using?
platform.platform: Linux-5.4.0-48-generic-x86_64-with-debian-buster-sid
sys.maxsize > 2**32: True
platform.python_version: 3.6.5
cx_Oracle.version: 6.3
cx_Oracle.clientversion: (12, 2, 0, 1, 0)
-
Describe the problem
When I am trying to fetch data from a database(NLS_CHARACTERSET is set to "WE8ISO8859P15"), Unicode texts are coming as "??" which is expected because cx_oracle is using ASCII by default. But when I am running this lineexport NLS_LANG=AMERICAN_AMERICA.AL32UTF8
and trying to fetch the same data, Unicode texts are coming as there hexa values like this "\x80\x99"
for example ’
--> 'â\x80\x99'
I was wondering if someone can help me in this situation.