Hi,
I'm trying to fix bug http://bugs.freepascal.org/view.php?id=14135 but could not get a way to do case insensitive comparison of UTF8 strings with non ascii characters (in the test even ansi strings failed).
See the attached test program. I tried StrIComp, AnsiCompareText, CompareText and even widestringmanager.CompareTextWideStringProc.
On Linux, only AnsiCompareText worked. On Windows none worked.
Any hints on how to do such comparison or this is a limitation of current fpc? Or i'm doing something wrong?
BTW:
Key := 'ç';Key will be encoded in the current system encoding Ok?
Key := Utf8Encode('ç');'ç' will be converted to widestring and then back to Utf8 Ok?
Luiz
