[Lazarus] cwstring in arm-linux
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Oct 21 17:44:02 CEST 2011
Michael Schnell <mschnell at lumino.de> hat am 21. Oktober 2011 um 17:23
geschrieben:
> On 10/21/2011 04:13 PM, Michael Lutz wrote:
> > If you write a file with a file name in unicode NFC in OS X
> > and read the file name back from the OS, you'll get a NFD string returned,
> > which means a normalization-unaware compare function will not do what
> > you'd expect.
> >
> ...as already mentioned in another message in this thread OSX does
> really silly stuff regarding file names.
The normalization is not silly.
The really silly thing is that by default their file system is case insensitive,
while many command line tools are not.
> How does their object pascal handle this ?
I don't know what they did, but I know from Lazarus:It's not a big deal. Lazarus
works since years on OS X and only needed a function to compare file names,
which calls the OS X function. Of course Lazarus already supported Linux. It can
be hard to port a Windows application to OS X.
Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111021/b1f711ad/attachment-0003.html>
More information about the Lazarus
mailing list