[MERGE] UTF-8 encoding in binary diffs
robertc at robertcollins.net
Thu Jul 12 06:06:40 BST 2007
On Wed, 2007-07-11 at 10:35 -0500, John Arbash Meinel wrote:
> except UnicodeError:
> raise TestSkipped('Platform cannot represent unicode characters')
> It isn't what I would prefer, but that is what we have been using.
I'd prefer to see a test helper:
path = self.get_nasty_supported_filename(prefix='foo')
-> full unicode on unicode platforms
-> just ascii in unicode form on other platforms or when LC_ALL=C
This means that the test can run always, and will test to the limit of
Separately we should have a test that tests the behaviour of filename
encoding only, e.g. of two historical revisions - and that should work
regardless of the filesystem unicode support, all it needs is a terminal
that can show it.
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070712/e736d137/attachment.pgp
More information about the bazaar