aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-unicode.h
diff options
context:
space:
mode:
authorLauris Kaplinski <lauris@src.gnome.org>2000-11-08 10:47:35 +0800
committerLauris Kaplinski <lauris@src.gnome.org>2000-11-08 10:47:35 +0800
commit9f7ff57297fc2abdcad743a34f0459df7ab5cc96 (patch)
tree3787116f9f6f1b4cebd0ad93e058d796e0085c53 /widgets/misc/e-unicode.h
parent1d895352bc154854bd03aae4f5f4201648230c8d (diff)
downloadgsoc2013-evolution-9f7ff57297fc2abdcad743a34f0459df7ab5cc96.tar.gz
gsoc2013-evolution-9f7ff57297fc2abdcad743a34f0459df7ab5cc96.tar.zst
gsoc2013-evolution-9f7ff57297fc2abdcad743a34f0459df7ab5cc96.zip
Added decomposing case insensitive utf-8 strstr
svn path=/trunk/; revision=6498
Diffstat (limited to 'widgets/misc/e-unicode.h')
-rw-r--r--widgets/misc/e-unicode.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/widgets/misc/e-unicode.h b/widgets/misc/e-unicode.h
index c6672dd48b..7734661bef 100644
--- a/widgets/misc/e-unicode.h
+++ b/widgets/misc/e-unicode.h
@@ -18,10 +18,16 @@ BEGIN_GNOME_DECLS
void e_unicode_init (void);
/*
- * e_utf8_strstrcase
+ * UTF-8 searching implementations
+ *
+ * e_utf8_strstrcase - case insensitive search
+ * e_utf8_strstrcasedecomp - case insensitive and decompositing search (i.e. accented
+ * letters are treated equal to their base letters, explicit accent marks (unicode
+ * not ascii/iso ones) are ignored).
*/
const gchar *e_utf8_strstrcase (const gchar *haystack, const gchar *needle);
+const gchar *e_utf8_strstrcasedecomp (const gchar *haystack, const gchar *needle);
gchar *e_utf8_from_gtk_event_key (GtkWidget *widget, guint keyval, const gchar *string);