evolution + evolution-mapi + iconv and charset CP20866

Vladimir Grebenschikov vova at fbsd.ru
Fri Dec 25 19:16:19 UTC 2009


>>> 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 ?

>> 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?

https://bugzilla.gnome.org/show_bug.cgi?id=361145

reported as partially fixed in
http://ftp.gnome.org/pub/GNOME/desktop/2.29/2.29.3/NEWS



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
> 
> 


-- 
Vladimir B. Grebenschikov
vova at fbsd.ru


More information about the freebsd-gnome mailing list