[glib] Don't mention g_utf32_to_utf8() and g_utf8_to_utf32()



commit 18b3ff33afad10dfac7dfdf3025313490f8313cc
Author: Javier Jardón <jjardon gnome org>
Date:   Sun Nov 15 05:51:45 2009 +0100

    Don't mention g_utf32_to_utf8() and g_utf8_to_utf32()
    
    These functions doesn't exist.
    Suggest to use g_ucs4_to_utf8/g_utf8_to_ucs4 to produce the UTF-8
    representation of a gunichar
    
    This fix bug: https://bugzilla.gnome.org/show_bug.cgi?id=601874

 docs/reference/glib/tmpl/unicode.sgml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/glib/tmpl/unicode.sgml b/docs/reference/glib/tmpl/unicode.sgml
index 02c11b2..e0596c1 100644
--- a/docs/reference/glib/tmpl/unicode.sgml
+++ b/docs/reference/glib/tmpl/unicode.sgml
@@ -46,8 +46,8 @@ A type which can hold any UTF-32 or UCS-4 character code, also known
 as a Unicode code point.
 </para>
 <para>
-To print/scan values of this type to/from text you need to convert
-to/from UTF-8, using g_utf32_to_utf8()/g_utf8_to_utf32().
+If you want to produce the UTF-8 representation of a #gunichar,
+use g_ucs4_to_utf8(). See also g_utf8_to_ucs4() for the reverse process.
 </para>
 <para>
 To print/scan values of this type as integer, use



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]