On Wed, 2008-01-09 at 15:33 +0100, Fredrik Lundh wrote: > When mixing Unicode with byte strings, Python attempts to decode the > byte string, not encode the Unicode string.
Ah, I did not realize that. I never mix Unicode and byte strings in the first place, and now I know why. Thanks for clearing that up. -- Carsten Haese http://informixdb.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list