[Mono-dev] bug 3860 - DirectoryInfo.GetFileSystemInfos returns a subdirectory that has unicode chars with the incorrect name
atsushieno at veritas-vos-liberabit.com
Tue Mar 13 04:11:37 UTC 2012
I'm not very familiar with Macs but maybe because file names under OSX
file system are based on Unicode NFD variant?
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.
> 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 at lists.ximian.com
More information about the Mono-devel-list