[Date Prev][Date Next]
UTF8 caseIgnoreSubstringsMatch (ITS#856)
Full_Name: Stig Venaas
Submission from: (NULL) (18.104.22.168)
This patch makes caseIgnoreSubstringsMatch work with UTF8. Note that all
are enclosed with #if 0 / #endif. Replace #if 0 with #if 1 to test it.
It might seem strange that I'm using a weird UTF8oncasecmp instead of
UTF8ncasecmp but it's faster to pass an offset than constructing the
necessary argument for UTF8ncasecmp. (I hope this comment is clear after
you look at the patch).
I'm sending a mail to devel about this patch and more.