Re: Normalisation of filenames

2017-04-05 Thread Alastair Houghton
On 5 Apr 2017, at 09:09, Jean-Daniel wrote: > >> Le 5 avr. 2017 à 07:49, Gerriet M. Denkmann a écrit : >> >> Apple uses (as far as I remember) a variant of Unicode’s canonical >> decomposition form. > > Yes they do. I think is due to lack of

Re: Normalisation of filenames

2017-04-05 Thread Jean-Daniel
> Le 5 avr. 2017 à 07:49, Gerriet M. Denkmann a écrit : > > >> On 3 Apr 2017, at 05:58, Aki Inoue wrote: >> This is the standard Unicode Normalization behavior. Each Unicode character is assigned the Unicode Combining Property, an integer value

Re: Normalisation of filenames

2017-04-04 Thread Gerriet M. Denkmann
> On 3 Apr 2017, at 05:58, Aki Inoue wrote: > >>> This is the standard Unicode Normalization behavior. Each Unicode character >>> is assigned the Unicode Combining Property, an integer value defining the >>> canonical ordering of combining marks. >>> >>> The Unicode Combining

Re: Normalisation of filenames

2017-04-02 Thread Aki Inoue
> On Apr 2, 2017, at 1:50 AM, Gerriet M. Denkmann wrote: > >> >> On 2 Apr 2017, at 10:59, Aki Inoue wrote: >> >> >>> On Apr 1, 2017, at 4:57 PM, Gerriet M. Denkmann wrote: >>> >>> On 2 Apr 2017, at 06:33, Jens Alfke

Re: Normalisation of filenames

2017-04-02 Thread Gerriet M. Denkmann
> On 2 Apr 2017, at 10:59, Aki Inoue wrote: > > >> On Apr 1, 2017, at 4:57 PM, Gerriet M. Denkmann wrote: >> >> >>> On 2 Apr 2017, at 06:33, Jens Alfke wrote: >>> >>> On Apr 1, 2017, at 11:58 AM, Gerriet M. Denkmann

Re: Normalisation of filenames

2017-04-01 Thread Aki Inoue
> On Apr 1, 2017, at 4:57 PM, Gerriet M. Denkmann wrote: > > >> On 2 Apr 2017, at 06:33, Jens Alfke wrote: >> >> >>> On Apr 1, 2017, at 11:58 AM, Gerriet M. Denkmann >>> wrote: >>> >>> I think that the examples above show,

Re: Normalisation of filenames

2017-04-01 Thread Gerriet M. Denkmann
> On 2 Apr 2017, at 06:33, Jens Alfke wrote: > > >> On Apr 1, 2017, at 11:58 AM, Gerriet M. Denkmann wrote: >> >> I think that the examples above show, that NSURL does indeed do something >> about normalising Unicode strings. > > That makes sense;

Re: Normalisation of filenames

2017-04-01 Thread Jens Alfke
> On Apr 1, 2017, at 11:58 AM, Gerriet M. Denkmann wrote: > > I think that the examples above show, that NSURL does indeed do something > about normalising Unicode strings. That makes sense; I’d expect that one of the RFCs covering URLs describes normalization. Otherwise

Re: Normalisation of filenames

2017-04-01 Thread Gerriet M. Denkmann
> On 2 Apr 2017, at 01:09, Quincey Morris > wrote: > > On Apr 1, 2017, at 04:41 , Gerriet M. Denkmann wrote: >> >> for different values of path I got: >> path = @“/ก่ี”; // consonant + mark + vowel → same = YES >> path =

Re: Normalisation of filenames

2017-04-01 Thread Quincey Morris
On Apr 1, 2017, at 04:41 , Gerriet M. Denkmann wrote: > > for different values of path I got: > path = @“/ก่ี”; // consonant + mark + vowel → same = YES > path = @“/กี่”; // consonant + vowel + mark → same = YES > > Note: these two paths also look

Normalisation of filenames

2017-04-01 Thread Gerriet M. Denkmann
I tried (with case-sensitive HFS+ in macOS 12.4): NSString *path = … NSURL *url = [ NSURL fileURLWithPath: path isDirectory: NO ]; NSString *urlPath = url.path; BOOL same = [ urlPath isEqualToString: path ]; for different values of path I got: path = @“/ก่ี”; // consonant + mark + vowel