[Date Prev][Date Next] [Chronological] [Thread] [Top]

UTF8 caseIgnoreSubstringsMatch (ITS#856)

Full_Name: Stig Venaas
Version: head
URL: http://domen.uninett.no/~venaas/schema_init.1.100.diff
Submission from: (NULL) (

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.