Hello FPC-Pascal,

Saturday, July 25, 2009, 5:46:39 PM, you wrote:

t> @Luiz Americo

t> Your code
t> WideCompareText(UTF8Decode(Key), UTF8Decode(Str))
t> will work, but if speed matters, then it's rather bad.

That's not right, the assumption that:

lowercasemapping(a)=lowercasemapping(b)

is the same as:

IsSameText(a,b)

is wrong at unicode levels.

-- 
Best regards,
 JoshyFun

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

Reply via email to