Am 21.10.2011 10:00 schrieb Michael Schnell:
> On 10/20/2011 10:26 PM, Felipe Monteiro de Carvalho wrote:
>> Mac OS X uses the decomposed form in UTF-8 to store filenames, which
>> is rather unpleasant.
> 
> Why are they so silly ?

What's silly about that? If they'd store it in precomposed form (NFC)
instead, you still can't use a simple string compare unless you normalize
all strings. And even better, some characters used in some languages
simply have no precomposed form at all, which means you'll always have to
be prepared to handle characters composed of several Unicode code points.

Michael Lutz


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to