Dave Mitchell wrote: > On Fri, Jul 08, 2005 at 09:45:32AM +0300, Jarkko Hietaniemi wrote: > >>I won't have time to look into this anytime soon, but I think the fix >>for the second case shouldn't be too hard to find. First of all, if >>either the matcher or the matchee are UTF-8, we should never ever ever >>end up calling the bare ibcmp(), but instead ibcmp_utf8() with the right >>combination of flags to indicate which or both is UTF-8. > > > if ibcmp is replaced with ibcmp_utf8, what should ibcmp_locale be replaced > with?
It depends, and not "replaced with". If it is a UTF-8 locale, the ibcmp_utf8() should be used, otherwise I *guess* the ibcmp_locale() as it is now should be used. >