[Lazarus] cwstring in arm-linux

Michael Lutz Michi_cc at gmx.net
Fri Oct 21 16:13:21 CEST 2011


Am 21.10.2011 15:02 schrieb Michael Schnell:
> But if you just deal with the user's GUI input and output and with files 
> that you wrote yourself in some default encoding code the language tools 
> define, IMHO a decent language should do whatever possible to hide the 
> complexity.

You'd advocate for fpc/Lazarus to normalize all incoming and outgoing file
names then? 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.


Michael Lutz





More information about the Lazarus mailing list