David Beazley <d...@dabeaz.com> added the comment: Note: This is what happens in Python 2.6.4:
>>> import struct >>> struct.pack("10s",u"Jalape\u00f1o") Traceback (most recent call last): File "<stdin>", line 1, in <module> struct.error: argument for 's' must be a string >>> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10783> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com