[issue10783] struct.pack() and Unicode strings
David Beazley
report at bugs.python.org
Mon Dec 27 21:17:00 CET 2010
David Beazley <dave at dabeaz.com> added the comment:
Hmmm. Well, the docs seem to say that it's allowed and that it will be encoded as UTF-8.
Given the treatment of Unicode/bytes elsewhere in Python 3, all I can say is that this behavior is rather surprising.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10783>
_______________________________________
More information about the Python-bugs-list
mailing list