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:
Matthias Clasen
2002-03-11 21:38:18 +00:00
parent 09ac5e2e00
commit 3346808702
11 changed files with 91 additions and 28 deletions

View File

@@ -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.

View File

@@ -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.