469,267 Members | 1,059 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,267 developers. It's quick & easy.

Unicode zipping from Python code?

Hi!

As I experienced in the year 2006, the Python's zip module is not
unicode-safe.
With the hungarian filenames I got wrong result.
I need to convert iso-8859-2 to cp852 chset to get good result.
As I see, this module is "a command line tool" imported as extension.

Now I search for something that can handle the characters good, or
handle the unicode filenames.

Does anyone knows about a python project that can do this?
Or other tool what I can use for zipping intern. characters?

Thanks for your help!

dd

Mar 26 '07 #1
1 1365
On Mar 26, 12:21 am, durumdara <durumd...@gmail.comwrote:
Hi!

As I experienced in the year 2006, the Python's zip module is not
unicode-safe.
I'd rather say unicode file names are not supported. Why? Because zip
format didn't support unicode file names upto 2006.
With the hungarian filenames I got wrong result.
I need to convert iso-8859-2 to cp852 chset to get good result.
So you solved the problem, didn't you?
As I see, this module is "a command line tool" imported as extension.

Now I search for something that can handle the characters good, or
handle the unicode filenames.
You said you've got good result, so it's not clear what do you want.

Does anyone knows about a python project that can do this?
Or other tool what I can use for zipping intern. characters?
Zipping is only half of the problem. How are you going to unzip such
files?
-- Leo

Mar 27 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.