[MERGE] UTF-8 encoding in binary diffs
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Jul 11 17:26:02 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel wrote:
> Martin Pool wrote:
> try:
> self.build_tree(u'unicode\u03a9')
> except UnicodeError:
> raise TestSkipped('Platform cannot represent unicode characters')
>
> It isn't what I would prefer, but that is what we have been using.
Perhaps we could implement the Unicode feature by doing a read operation
rather than a write. e.g, I'd expect "stat(u'/\u1234')" to raise a
UnicodeError rather than an IOError on platforms with no unicode support.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGlQSa0F+nu1YWqI0RAn6mAJ9yofrEA6fGHYr5OYC+JUbi3xVC9ACeO3jQ
blw9vIevHWJDETjVV6WYBoc=
=14eC
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list