From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 25 16:20:04 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 C61CF106568D for ; Fri, 25 Dec 2009 16:20:04 +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 F07678FC0A for ; Fri, 25 Dec 2009 16:20:03 +0000 (UTC) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id nBPGKHCc022191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Dec 2009 19:20:18 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NOCtS-0003k7-JY; Fri, 25 Dec 2009 19:19:58 +0300 From: Vladimir Grebenschikov To: Joe Marcus Clarke In-Reply-To: <1261756288.1555.9.camel@shumai.marcuscom.com> References: <1261595748.51825.38.camel@localhost> <1261756288.1555.9.camel@shumai.marcuscom.com> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Date: Fri, 25 Dec 2009 19:19:58 +0300 Message-ID: <1261757998.2710.24.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 16:20:04 -0000 Hi=20 > 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 str= ace 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 $ Looks like iconv broken in place of reading charset aliases from file. 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 ? -------- =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 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 > $ 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 --=20 Vladimir B. Grebenschikov vova@fbsd.ru