diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index b061c5990..44cd177b3 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +Sun Sep 19 23:15:17 2004 Matthias Clasen + + * glib/tmpl/patterns.sgml: Point to g_utf8_strreverse() for + reversing UTF-8 strings. (#153091, Adam Hooper) + 2004-09-18 Matthias Clasen * === Released 2.5.3 === diff --git a/docs/reference/glib/tmpl/patterns.sgml b/docs/reference/glib/tmpl/patterns.sgml index c25374707..bcaf12d13 100644 --- a/docs/reference/glib/tmpl/patterns.sgml +++ b/docs/reference/glib/tmpl/patterns.sgml @@ -8,11 +8,11 @@ matches strings against patterns containing '*' (wildcard) and '?' (joker). The g_pattern_match* functions match a string against a pattern containing '*' and '?' wildcards with similar semantics -as the standard glob() function: '*' matches an -arbitrary, possibly empty, string, '?' matches an arbitrary character. +as the standard glob() function: '*' matches an arbitrary, possibly empty, +string, '?' matches an arbitrary character. -Note that in contrast to glob(), the '/' character +Note that in contrast to glob(), the '/' character can be matched by the wildcards, there are no '[...]' character ranges and '*' and '?' can not be escaped to include them literally in a pattern. @@ -82,9 +82,9 @@ g_pattern_match(). Note also that the reverse of a UTF-8 encoded string can in general -not be obtained by g_strreverse(). +not be obtained by g_strreverse(). This works only if the string doesn't contain any multibyte characters. -Glib doesn't currently offer a function to reverse UTF-8 encoded strings. +Glib offers the g_utf_strreverse() function to reverse UTF-8 encoded strings. @pspec: a #GPatternSpec.