evolution + evolution-mapi + iconv and charset CP20866
Joe Marcus Clarke
marcus at marcuscom.com
Fri Dec 25 16:43:11 UTC 2009
On Fri, 2009-12-25 at 19:19 +0300, Vladimir Grebenschikov wrote:
> Hi
>
> > 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.
>
> > Try setting CHARSETALIASDIR to be the full path to charset.alias, and
> > see if that works.
>
> It does not helps, it even did not tried to open charset.alias file (by strace output)
> $ env CHARSETALIASDIR=/usr/local/libdata/charset.alias strace -o
> iconv.strace iconv -f cp20866 -t utf-8
> iconv: conversion from cp20866 unsupported
> iconv: try 'iconv -l' to get the list of supported encodings
> $ fgrep charset iconv.strace
> $
>
> 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.
>
> 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?
Joe
>
> -------- Исходное сообщение --------
> От: 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
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20091225/949ff5c5/attachment-0001.pgp
More information about the freebsd-gnome
mailing list