I'm not very familiar with Macs but maybe because file names under OSX file system are based on Unicode NFD variant?

Atsushi Eno

Jared Watts wrote:

I opened bug 3860 <https://bugzilla.xamarin.com/show_bug.cgi?id=3860> earlier today, but I’m curious if anyone on the dev list has run into a similar issue or knows of a workaround.

https://bugzilla.xamarin.com/show_bug.cgi?id=3860

Basically, on Mac OS X, Directory.CreateDirectory is used to create a sub directory with Unicode chars in the path (ベー トーヴェン). When that directory is retrieved with DirectoryInfo.GetFileSystemInfos, the Name property is different than what it was created with.

The attached .out file has the output from the sample repro program after it was run on Mac OS X.

If you want to build the attached repro program:

csc /t:exe /out:UnicodeFileRepro.exe Program.cs

Thanks for any debugging ideas/workarounds!

- jared



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to