Gerhard,
thanks, that
import os
os.environ["NLS_LANG"] = "German_Germany.UTF8"
import cx_Oracle
con = cx_Oracle.connect("me/[EMAIL PROTECTED]")
really helped. At least now the query returns something encoded
differently. I dared not to believe that there is no "direct encoding
change api" withou
Harald Armin Massa wrote:
> Dietz,
>
> thank you for your answer.
>
>>It's called NLS (national language support),
>>and it is like a locale-setting in python/C. I'm too lazy to google right
>
> Sad thing: I allready googled that and had to learn: you CAN definitely
> change some parameters, tha
Dietz,
thank you for your answer.
> It's called NLS (national language support),
>and it is like a locale-setting in python/C. I'm too lazy to google right
Sad thing: I allready googled that and had to learn: you CAN definitely
change some parameters, that is sort order and language for error
me
Harald Armin Massa wrote:
> Hello,
>
> I am looking for a method to convince cx_Oracle and oracle to encode
> it's replies in UTF8.
>
> For the moment I have to...
>
> cn=cx_Oracle.connect("user","password", "database")
> cs=cn.Cursor()
>
> cs.execute("select column1, column2, column3 from ta
Hello,
I am looking for a method to convince cx_Oracle and oracle to encode
it's replies in UTF8.
For the moment I have to...
cn=cx_Oracle.connect("user","password", "database")
cs=cn.Cursor()
cs.execute("select column1, column2, column3 from table")
for row in cs.fetchall():
t=[]
for i