?
=?ISO-8859-1?Q?Tor_Erik_S=F8nvisen?=
Hi,
How can I transform b so that the assertion holds? I.e., how can I
reverse the backslash-replaced encoding, while retaining the str-type?
Traceback (most recent call last):
File "<pyshell#59>", line 1, in <module>
assert isinstance(b, str) and b == 'æ'
AssertionError
Regards,
tores
How can I transform b so that the assertion holds? I.e., how can I
reverse the backslash-replaced encoding, while retaining the str-type?
Traceback (most recent call last):
File "<pyshell#59>", line 1, in <module>
assert isinstance(b, str) and b == 'æ'
AssertionError
Regards,
tores