Re: UCS-2 in gunicode.h



> 
> I think we're just going to add a function like this to glib:
> 
> gchar*
> g_convert (const gchar *str,
>            gint         len,
>            const gchar *to_codeset,
>            const gchar *from_codeset,
>            gint        *bytes_converted)

Why are the codesets gchar *s and not an enumerated type like
GLIB_CODESET_UCS_2 or whatever?

Joe





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