Re: Preserving unicode filename encoding

2012-10-20 Thread Nobody
On Sat, 20 Oct 2012 13:43:16 -0700, Julien Phalip wrote: > I've noticed that the encoding of non-ascii filenames can be inconsistent > between platforms when using the built-in open() function to create files. > > For example, on a Ubuntu 10.04.4 LTS box, the character u'ş' (u'\u015f') > gets enc

Preserving unicode filename encoding

2012-10-20 Thread Julien Phalip
Hi, I've noticed that the encoding of non-ascii filenames can be inconsistent between platforms when using the built-in open() function to create files. For example, on a Ubuntu 10.04.4 LTS box, the character u'ş' (u'\u015f') gets encoded as u'ş' (u's\u0327'). Note how the two characters look