Removing Unicode from Python?

Neil Hodgson nhodgson at bigpond.net.au
Thu Oct 30 04:35:08 EST 2003


Paradox:

> I am
> just not understanding why python is thinking stuff is unicode and why
> it is failing on conversion. There is no way that a byte can not be
> between 0 and 255 right? This problem can be so haunting that I will
> start to wish I had coded the solution in VB where at least a string
> is a string is a string.

   In VB a string is a BSTR is a Unicode string.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconpassingstringstodllprocedure.asp

   Neil






More information about the Python-list mailing list