From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 25 19:16:19 2009 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05E84106568D for ; Fri, 25 Dec 2009 19:16:19 +0000 (UTC) (envelope-from vova@parallels.com) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 535498FC15 for ; Fri, 25 Dec 2009 19:16:17 +0000 (UTC) Received: from vbook.fbsd.ru ([10.24.21.214]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id nBPJGW8Z026910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Dec 2009 22:16:34 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NOFe1-0000jv-2H; Fri, 25 Dec 2009 22:16:13 +0300 From: Vladimir Grebenschikov To: Joe Marcus Clarke In-Reply-To: <1261759388.1555.10.camel@shumai.marcuscom.com> References: <1261595748.51825.38.camel@localhost> <1261756288.1555.9.camel@shumai.marcuscom.com> <1261757998.2710.24.camel@localhost> <1261759388.1555.10.camel@shumai.marcuscom.com> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Date: Fri, 25 Dec 2009 22:16:12 +0300 Message-ID: <1261768572.2673.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: gnome Subject: Re: evolution + evolution-mapi + iconv and charset CP20866 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 19:16:19 -0000 >>> CP20866 is the Windows encoding for KOI8-R. I'm not sure why libiconv >>> does not support it. >>=20 >> 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. =20 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=3D361145 reported as partially fixed in http://ftp.gnome.org/pub/GNOME/desktop/2.29/2.29.3/NEWS Joe >=20 > -------- =E9=D3=C8=CF=C4=CE=CF=C5 =D3=CF=CF=C2=DD=C5=CE=C9=C5 -------- > =EF=D4: Joe Marcus Clarke > =EB=CF=CD=D5: vova@fbsd.ru > =EB=CF=D0=C9=D1: gnome > =F4=C5=CD=C1: Re: evolution + evolution-mapi + iconv and charset CP20866 > =E4=C1=D4=C1: Fri, 25 Dec 2009 10:51:28 -0500 >=20 > On Wed, 2009-12-23 at 22:15 +0300, Vladimir Grebenschikov wrote: > > Hi=20 > >=20 > > 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=20 > >=20 > > Problem reading mail with evolution + evolution-mapi some messages are > > not displayed correctly, on stderr error message about inability to > > convert CP20866. > >=20 > > Same error shown by iconv. > >=20 > > $ iconv -f CP20866 -t koi8-r /etc/hosts > > iconv: conversion from CP20866 unsupported > > iconv: try 'iconv -l' to get the list of supported encodings > > $ >=20 > CP20866 is the Windows encoding for KOI8-R. I'm not sure why libiconv > does not support it. >=20 > Try setting CHARSETALIASDIR to be the full path to charset.alias, and > see if that works. >=20 > Joe >=20 >=20 --=20 Vladimir B. Grebenschikov vova@fbsd.ru