On 20.04.2013 17:42, Stefan Sperling wrote:
> On Sat, Apr 20, 2013 at 07:26:06PM +0400, Ivan Zhakov wrote:
>> On Sat, Apr 20, 2013 at 2:27 PM, Stefan Sperling <stsp_at_apache.org> wrote:
>>> How is lower-casing a multi-byte UTF-8 character going to help?
>>> Won't the lower-case equivalent still be a multibyte character
>>> and trigger the overflow check in Visual Studio?
>> Because in this case we can call apr_fnmatch without
>> APR_FNM_CASE_BLIND, avoid tolower calls and get case-insensitive
> Are we going to implement our own code to transform a string
> to lower case? Or do we already have such functions for UTF-8 strings?
We aren't and we don't, on trunk; but the wc-collate-path branch does
have code that can do Unicode-aware case folding through utf8proc.
It's always been wrong to use tolower for case-insensitive comparisons
anyway, but we've tended to ignore that.
Director of Subversion | WANdisco | www.wandisco.com
Received on 2013-04-20 17:54:50 CEST