From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 25 16:43:11 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 69F9D106566B for ; Fri, 25 Dec 2009 16:43:11 +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 1B2978FC18 for ; Fri, 25 Dec 2009 16:43:11 +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 nBPGhMqQ073720; Fri, 25 Dec 2009 11:43:22 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: vova@fbsd.ru In-Reply-To: <1261757998.2710.24.camel@localhost> References: <1261595748.51825.38.camel@localhost> <1261756288.1555.9.camel@shumai.marcuscom.com> <1261757998.2710.24.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-HboJBOQNK85VOX7XmdyT" Organization: MarcusCom, Inc. Date: Fri, 25 Dec 2009 11:43:08 -0500 Message-ID: <1261759388.1555.10.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 16:43:11 -0000 --=-HboJBOQNK85VOX7XmdyT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2009-12-25 at 19:19 +0300, Vladimir Grebenschikov wrote: > Hi=20 >=20 > > 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. >=20 > > Try setting CHARSETALIASDIR to be the full path to charset.alias, and > > see if that works. >=20 > It does not helps, it even did not tried to open charset.alias file (by s= trace output) > $ env CHARSETALIASDIR=3D/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=20 > $ >=20 > 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 > 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 >=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 char= set 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 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 PGP Key : http://www.marcuscom.com/pgp.asc --=-HboJBOQNK85VOX7XmdyT 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) iEYEABECAAYFAks065sACgkQb2iPiv4Uz4feLgCZAeLqAqFGKS9hquRy/RJ2pnlT t3gAnRLkiLSQrVxcC/DHbBzrKv9lYVvR =eBzg -----END PGP SIGNATURE----- --=-HboJBOQNK85VOX7XmdyT--