On May 25, 2008, at 3:21 PM, Uwe Grauer wrote:

> I wrote the most important code for dbOracle.py.
> Unfortunately the python module cx_Oracle doesn't seem to support
> unicode as the other database modules do.
>
> Look for "cx_oracle and utf-8 again" at:
> http://news.gmane.org/group/gmane.comp.python.db.cx-oracle/last=/force_load=t
>
> Do you have any ideas on how and if we should deal with this?

        That does look like a mess to deal with. It appears that we'd have to  
wrap the execute() method to encode anything sent to Oracle, and wrap  
fetchall() to encode the results.

> If this turns out to be too much work until the author of cx_oracle
> get's unicode support working, i commit what i have done and stop
> working on it for now.


        You should commit what you have now anyway, as no one is relying on  
that code, so you won't break anything. We can then see what needs to  
be done to add unicode support.

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to