From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 25 19:34:45 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 7CE6D106566C for ; Fri, 25 Dec 2009 19:34:45 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 2C61D8FC28 for ; Fri, 25 Dec 2009 19:34:45 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id nBPJYtvw075223; Fri, 25 Dec 2009 14:34:55 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: vova@fbsd.ru In-Reply-To: <1261768572.2673.10.camel@localhost> 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> <1261768572.2673.10.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-bNL1lCsim0VrWfBFZUNi" Organization: MarcusCom, Inc. Date: Fri, 25 Dec 2009 14:34:41 -0500 Message-ID: <1261769681.1555.16.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com 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 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:34:45 -0000 --=-bNL1lCsim0VrWfBFZUNi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 libicon= v > >>> 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 ? 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. >=20 > >> 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 ? >=20 > > Not yet. What is the bug ID? >=20 > https://bugzilla.gnome.org/show_bug.cgi?id=3D361145 >=20 > reported as partially fixed in > http://ftp.gnome.org/pub/GNOME/desktop/2.29/2.29.3/NEWS It doesn't sound like this is the same bug you are reporting. Joe >=20 >=20 >=20 > Joe >=20 > >=20 > > -------- =D0=98=D1=81=D1=85=D0=BE=D0=B4=D0=BD=D0=BE=D0=B5 =D1=81=D0=BE= =D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B5 -------- > > =D0=9E=D1=82: Joe Marcus Clarke > > =D0=9A=D0=BE=D0=BC=D1=83: vova@fbsd.ru > > =D0=9A=D0=BE=D0=BF=D0=B8=D1=8F: gnome > > =D0=A2=D0=B5=D0=BC=D0=B0: Re: evolution + evolution-mapi + iconv and ch= arset CP20866 > > =D0=94=D0=B0=D1=82=D0=B0: 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 ar= e > > > 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 >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-bNL1lCsim0VrWfBFZUNi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAks1E9AACgkQb2iPiv4Uz4e61wCfcH82XuH5Sx+eIj/JHbFwwajM OOIAn00wC3rkx79f/0uVAoLMa/IvcTCy =R6fR -----END PGP SIGNATURE----- --=-bNL1lCsim0VrWfBFZUNi--