test_nonascii: two unicode a's

John Arbash Meinel john at arbash-meinel.com
Sun Jul 2 18:07:29 BST 2006

Hash: SHA1

Wouter van Heyst wrote:
> On Sun, Jul 02, 2006 at 09:26:09AM -0500, John Arbash Meinel wrote:
>> Also, what version of Windows are you using?
>>From irc and the begin of the thread, 
> <bialix>: I have windows 2000 on FAT32. The same behaviour with cygwin on the same FS.
> Wouter van Heyst

Well, on WinXP and FAT32 I can still create both å and ä in the same
directory, and they both show up properly in Explorer.

In an even stranger turn, you can use the combining characters, and they
show up correctly in Explorer, and both can exist side-by-side. (This
also happens on Linux, though I'm not sure it always understands the
combining chars).

>>> open(u'\xe5', 'wb').write('foo')
>>> open(u'\xe4', 'wb').write('foobar')
>>> open(u'a\u030a', 'wb').write('with circle')
>>> open(u'a\u0308', 'wb').write('with dots')
>>> os.listdir(u'.')
[u'a\u0308', u'\xe4', u'a\u030a', u'\xe5']

Interestingly enough, Vim is able to open 3/4 u'a\u0308' shows up as two
characters, and give 'New File' at the bottom.

The other files it opens correctly, though it shows u'a\u030a' as two
characters, rather than combining them.

So maybe it is a Win2k issue.

Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: funky-chars.png
Type: image/png
Size: 31087 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060702/0ae0ba76/attachment.png 

More information about the bazaar mailing list