Message79771
I created small archive with a password using zip 2.32 (Ubuntu Gutsy).
The unicode flag is not set and so ASCII charset is used to encode the
password. But my password was an unicode password using non-ASCII
characters and so I get an UnicodeEncodeError ('ascii' codec can't
encode character u'\xe9' ...). The user (me) doesn't expect such error
here :-/
If I encode the unicode password to bytes using
password.encode('utf-8'), it works as expected. So I would prefer to
just reject unicode for the password. Attached patch implements that. |
|
Date |
User |
Action |
Args |
2009-01-13 19:25:05 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc, ggenellina, ebfe, gladed |
2009-01-13 19:25:05 | vstinner | set | messageid: <1231874705.21.0.627892901703.issue4871@psf.upfronthosting.co.za> |
2009-01-13 19:25:04 | vstinner | link | issue4871 messages |
2009-01-13 19:25:03 | vstinner | create | |
|