* system) in the <link linkend="setlocale">current locale</link> into a
* UTF-8 string.
*
- * Return value: The converted string, or %NULL on an error.
+ * Return value: A newly-allocated buffer containing the converted string,
+ * or %NULL on an error, and error will be set.
**/
gchar *
g_locale_to_utf8 (const gchar *opsysstring,
* system) in the <link linkend="setlocale">current locale</link>. On
* Windows this means the system codepage.
*
- * Return value: The converted string, or %NULL on an error.
+ * Return value: A newly-allocated buffer containing the converted string,
+ * or %NULL on an error, and error will be set.
**/
gchar *
g_locale_from_utf8 (const gchar *utf8string,