evolution + evolution-mapi + iconv and charset CP20866
Joe Marcus Clarke
marcus at marcuscom.com
Fri Dec 25 19:34:45 UTC 2009
On Fri, 2009-12-25 at 22:16 +0300, Vladimir Grebenschikov wrote:
> >>> CP20866 is the Windows encoding for KOI8-R. I'm not sure why libiconv
> >>> does not support it.
> >> Looks like it was supported in past, and then support was just dropped.
> >> Looks like iconv broken in place of reading charset aliases from file.
> > No. Now that I look at the code, it is not libiconv that reads this
> > file, but libcharset.
> So, evolution-mapi missuses libiconv ?
No, I don't think so. I think iconv probably needs an internal alias
added for CP20866, but I don't know enough about this encoding (and how
it may differ from KOI8-R) to say for certain. Bland seems to be more
clued in on libiconv. Perhaps he can comment.
> >> PS. Can't read your message in evolution due to "Formatting message"
> >> issue (known evolution issue, fixed in recent version). Does MC repo
> >> have 2.29.3 evolution or later ?
> > Not yet. What is the bug ID?
> reported as partially fixed in
It doesn't sound like this is the same bug you are reporting.
> > -------- Исходное сообщение --------
> > От: Joe Marcus Clarke <marcus at marcuscom.com>
> > Кому: vova at fbsd.ru
> > Копия: gnome <gnome at freebsd.org>
> > Тема: Re: evolution + evolution-mapi + iconv and charset CP20866
> > Дата: Fri, 25 Dec 2009 10:51:28 -0500
> > On Wed, 2009-12-23 at 22:15 +0300, Vladimir Grebenschikov wrote:
> > > Hi
> > >
> > > Anybody knows answer on following questions:
> > > - why libiconv has no support for CP20866 charset (alias for koi8-r)
> > > - or why /usr/local/libdata/charset.alias file is not processed by
> > > libiconv
> > > - or why evolution-mapi provides mail messages with that charset
> > >
> > > Problem reading mail with evolution + evolution-mapi some messages are
> > > not displayed correctly, on stderr error message about inability to
> > > convert CP20866.
> > >
> > > Same error shown by iconv.
> > >
> > > $ iconv -f CP20866 -t koi8-r /etc/hosts
> > > iconv: conversion from CP20866 unsupported
> > > iconv: try 'iconv -l' to get the list of supported encodings
> > > $
> > CP20866 is the Windows encoding for KOI8-R. I'm not sure why libiconv
> > does not support it.
> > Try setting CHARSETALIASDIR to be the full path to charset.alias, and
> > see if that works.
> > Joe
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20091225/bc6a3dbc/attachment.pgp
More information about the freebsd-gnome