On Jan 3, 1:31 pm, Simon Willison <[EMAIL PROTECTED]> wrote: > How can I tell Python "I know this says it's a unicode string, but I > need you to treat it like a bytestring"?
u'Bob\x92s Breakfast'.encode('latin-1') -- Paul Hankin -- http://mail.python.org/mailman/listinfo/python-list