From: Christian Biesinger (cbiesinger@web.de)
Date: Sat Apr 27 2002 - 10:28:32 EDT
On Sat, Apr 27, 2002 at 03:22:47PM +0100, F J Franklin wrote:
> On Sat, 27 Apr 2002, Christian Biesinger wrote:
> > On Sat, Apr 27, 2002 at 03:05:12PM +0100, Andrew Dunbar wrote:
> > > It will probably make our UT_iconv stuff a lot
> > > simpler if it becomes a wrapper only for g_iconv as
> > > long as we can trust g_iconv as well as we can trust
> > > our current iconv trickery (:
> >
> > I now had a look at
> > http://developer.gnome.org/doc/API/2.0/glib/glib-character-set-conversion.html
> > and it looks like the equivalent of UT_iconv is g_convert, not so much
> > g_iconv.
>
> well, I think g_convert is primarily for native->UTF-8 conversion, and I
> dare say it uses g_iconv internally...
gchar* g_convert (const gchar *str,
gssize len,
const gchar *to_codeset,
const gchar *from_codeset,
gsize *bytes_read,
gsize *bytes_written,
GError **error);
--> it has from_codeset and to_codeset - sounds like it's used for any
conversion.
But yes, I also suppose it used g_iconv internally.
arg... what I wrote is nonsense, as I now see... I meant "the equivalent
of UT_convert is g_convert".
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin
This archive was generated by hypermail 2.1.4 : Sat Apr 27 2002 - 10:30:39 EDT