r16547 - gnucash/trunk/lib/libqof/qof - #438360: Replace str{, n}casestr and strcasecmp by qof_utf8_{substr_nocase, strcasecmp}.

Andreas Köhler andi5 at cvs.gnucash.org
Tue Oct 2 21:18:15 EDT 2007


Author: andi5
Date: 2007-10-02 21:18:13 -0400 (Tue, 02 Oct 2007)
New Revision: 16547
Trac: http://svn.gnucash.org/trac/changeset/16547

Modified:
   gnucash/trunk/lib/libqof/qof/qofquerycore.c
   gnucash/trunk/lib/libqof/qof/qofutil.c
   gnucash/trunk/lib/libqof/qof/qofutil.h
Log:
#438360: Replace str{,n}casestr and strcasecmp by qof_utf8_{substr_nocase,strcasecmp}.

The functions used did not work for non-ascii characters.  The new
implementations use g_utf8_casefold and g_utf8_normalize to improve case
insensitive searches and comparisons.




More information about the gnucash-patches mailing list