mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Add a note about g_strreverse() and UTF-8.
* glib/tmpl/string_utils.sgml: Add a note about g_strreverse() and UTF-8. * glib/gstrfuncs.c (g_strtod): (g_ascii_strtod): (g_ascii_dtostr): (g_ascii_formatd): Doc formatting fixes.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-03-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/tmpl/string_utils.sgml: Add a note about g_strreverse() and UTF-8.
|
||||
|
||||
2002-02-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/Makefile.am (IGNORE_HFILES): Add gdebug.h.
|
||||
|
@@ -601,9 +601,12 @@ value if @s1 > @s2.
|
||||
|
||||
<!-- ##### FUNCTION g_strreverse ##### -->
|
||||
<para>
|
||||
Reverses all of the characters in a string.
|
||||
Reverses all of the bytes in a string.
|
||||
For example, <literal>g_strreverse ("abcdef")</literal> will result in "fedcba".
|
||||
</para>
|
||||
<para>
|
||||
Note that g_strreverse() doesn't work on UTF-8 strings containing multibyte characters.
|
||||
</para>
|
||||
|
||||
@string: the string to reverse.
|
||||
@Returns: the same pointer passed in as @string.
|
||||
|
Reference in New Issue
Block a user