> I suppose converting a combined character into a single character is not
> possible as it would need a huge table.

Michael Schnell, I thought you'd know about character.pas 
http://wiki.lazarus.freepascal.org/Theodp
It does normalization:

    class function Normalize_NFD(AString: UTF8String): UTF8String;
    class function Normalize_NFC(AString: UTF8String): UTF8String;
    class function Normalize_NFKD(AString: UTF8String): UTF8String;
    class function Normalize_NFKC(AString: UTF8String): UTF8String;

See the charandscan example at:
Combined Chars: ÅÅ'


Cheers 
Theo

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to