[merge][0.11] bugfix 56815: export unicode files to tar+zip

Alexander Belchenko bialix at ukr.net
Fri Sep 22 07:58:44 BST 2006

John Arbash Meinel пишет:
> There are two patches attached. The first fixes 'bzr export' for both
> tar and zipfiles so that if the tree contains unicode filenames, they
> will be exported as utf-8 paths.
> This fixes bug:
> https://launchpad.net/products/bzr/+bug/56815
> We had done some discussion, and it is possible that you would want to
> use a different path depending on the platform. But utf-8 is probably
> the most consistent thing. And it only might fail on windows. But since
> right now we fail on all platforms, it is still better to do this.

-0.5 on having utf-8 encoding for filenames in zip archives on Windows. 
It will be absolutely unusable to use with most windows zip archiver.

I see, you already submit this work, but it's not working for windows.
So my comments is late. But I personally prefer to don't have at all 
unicode support for zip archives.

Zip archives should use OEM encoding for files because zip born in DOS 
times. I could write simple decoder but it will works only on Windows.


More information about the bazaar mailing list