Filename normalisation handling
John Arbash Meinel
john at arbash-meinel.com
Tue Aug 21 17:49:29 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian Clatworthy wrote:
> John,
>
> What's your current feeling on filename normalisation? Now that I'm back
> on commit performance, I'd like to resolve that outstanding issue I had
> a while back, namely whether test_id2path is a legal test or not?
>
Short answer
the test shouldn't be using u'\xb5' (µ) but a different character. I prefer:
alpha == α == u'\u03b1'
It cannot be encoded into iso-8859-{1,2,15}, but it is a decent unicode
character that doesn't have normalization issues.
I'll give a longer answer in another reply. But at the moment, I'm just
frustrated with the issue, and try to avoid it whenever possible.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGyxeZJdeBCYSNAAMRAnfSAJ91hqVRcY8bzBMy2yaEex6WmLjT5gCgmM7R
Zo2GUFa5dG0tdb9wFIUOrSs=
=njKE
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list