Message 124727 - Python tracker (original) (raw)

Message124727

Author dabeaz
Recipients dabeaz
Date 2010-12-27.20:09:50
SpamBayes Score 2.9212763e-06
Marked as misclassified No
Message-id 1293480596.05.0.335729473125.issue10783@psf.upfronthosting.co.za
In-reply-to
Content
Is the struct.pack() function supposed to automatically encode Unicode strings into binary? For example: >>> struct.pack("10s","Jalape\u00f1o") b'Jalape\xc3\xb1o\x00' >>> This is Python 3.2b1.
History
Date User Action Args
2010-12-27 20:09:56 dabeaz set recipients: + dabeaz
2010-12-27 20:09:56 dabeaz set messageid: 1293480596.05.0.335729473125.issue10783@psf.upfronthosting.co.za
2010-12-27 20:09:50 dabeaz link issue10783 messages
2010-12-27 20:09:50 dabeaz create