I'm trying to read data from a Teradata table into python 3.6 and then insert that data into Oracle. It is basically an extract and load process as I'm not transforming the data. This Teradata table has columns where there are characters in many different languages. I'm using pyodbc to connect to Teradata and then cx_Oracle to connect to oracle. When I'm trying to unpack the data in python it looks like
[('\x1a\x1a\',)] and then upon insert the data into oracle it becomes .
I have set my environment variable as following
os.environ["NLS_LANG"] = '.AL32UTF8' and tried different decodings but nothing worked. Any idea how to solve it?