adodbapi / string encoding problem

Achim Domma domma at procoders.net
Thu Sep 25 08:40:16 EDT 2003


"Alex Martelli" <aleax at aleax.it> wrote in message
news:0ZAcb.118994$hE5.4097227 at news1.tin.it...
> You have to *EN*-code Unicode into string, with the same way the string
> had been *DE*-coded to Unicode originally, in order to be sure to get
> the same string back; specifically, you have to use the same *codec*
[...]

Thanks Alex,

I understand that, but looking at the adodbapi code I could not find any
call to encode/decode. The conversion seems to happen somewhere in win32com.
Don't know if you will ever get your data back, once it's converted to
Variant. ;-)

Achim






More information about the Python-list mailing list