[DB-SIG] unicode woes.

jeff sacksteder jsacksteder at gmail.com
Mon Sep 5 01:21:41 CEST 2005


Access 2000 and it's newer ilk use unicode for memo fields. Python's DBI 
chokes when reading data out of such fields, producing an error like this-
'Invalid character value for cast specification on column number 7'. 

I can state with certainty that there should be no non-ascii characters in 
those fields. Is there a way to alter the unicode 'cast'-ing step to drop 
unparsable characters?

Whereabouts is that handled in DBI?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/db-sig/attachments/20050904/0786fe59/attachment.html


More information about the DB-SIG mailing list