Bazaar-NG traffic #2
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Oct 12 21:34:49 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robey Pointer wrote:
>
> I think if a filename comes back as a string instead of unicode, it's
> because python couldn't decode it using the filesystem's encoding.
> (AFAIK this is mostly a unix problem.*) In that case if you just
> pretend the filename is in Latin-1, you will preserve the gibberish
> filename: Latin-1 defines a unicode char for every possible byte 0-255,
> so it's non-lossy. The gibberish filename can be reconstituted as the
> same gibberish on the other end.
Not necessarily. If it's extracted to a filesystem whose encoding is
Latin-1, you will not get gibberish on the other end.
Aaron
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDTXNp0F+nu1YWqI0RAvebAJ9T0SLl7WzTeSSVyEG3aERiYxCYZACcDxd1
FrNyb0vabsnlFo1XGE9PpvM=
=XnRq
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list