Re: e_iconv_* replaced with g_iconv_*

Jeffrey Stedfast <[email protected]> Mon, 13 Nov 2006 12:15:51 -0500
Newsgroups gmane.comp.gnome.evolution.patches
Organization Novell, Inc.
Message-ID <[email protected]>
Because giconv doesn't know the mappings for charsets that eiconv does.
it's not about the libc apis they wrap, it's about using the correct
to/from charset strings in *_iconv_open() (and about the caching -
you'll notice that glib has a copy of e-iconv's cache, but at the
gconvert level rather than at the giconv level)

Jeff

On Mon, 2006-11-13 at 17:41 +0100, Philip Van Hoof wrote:
> On Mon, 2006-11-13 at 11:25 -0500, Jeffrey Stedfast wrote:
> 
> Hey Jeffrey,
> 
> > GIconv is not good enough for Evolution - we tried this before and it
> > didn't work and caused all sorts of charset conversion problems.
> 
> Strange, because both GIConv and e_iconv are both wrapping the same
> iconv API it seems. Is there a mailing lists discussion or backlog about
> these issues available?
> 
> I was thinking about leaving the e_iconv_open and e_iconv_close APIs in
> tact so that the caching could still be in place, but let them return
> GIConv instances (in stead of iconv_t ones). 
> 
> 
-- 
Jeffrey Stedfast
Desktop Hacker - Novell, Inc.
[email protected]  - www.novell.com