Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2009 11:43:08 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        vova@fbsd.ru
Cc:        gnome <gnome@freebsd.org>
Subject:   Re: evolution + evolution-mapi + iconv and charset CP20866
Message-ID:  <1261759388.1555.10.camel@shumai.marcuscom.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <marcus@marcuscom.com>
> =D0=9A=D0=BE=D0=BC=D1=83: vova@fbsd.ru
> =D0=9A=D0=BE=D0=BF=D0=B8=D1=8F: gnome <gnome@freebsd.org>
> =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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1261759388.1555.10.camel>