Subject: iconv charset-conversion patch updated to 4.58

From: Bernhard Kaindl <[email-masked]>
Date: Thu, 11 Sep 2003 01:32:14 +0200 (CEST)

Hi,
   I've updated the iconv charset-conversion patch (originally from Jungshik Shin)
which uses iconv() as defined in UNIX98. For other operating systems, free
and portable implementations of iconv exist:

 libiconv like in Linux glibc:
  http://www.gnu.org/software/libiconv/

 The portable iconv implementation by Bruno Haible:
  ftp://ftp.ilog.fr/pub/Users/haible/gnu/libiconv-1.5.1.tar.gz

 The portable iconv implementation by Konstantin Chuguev:
  ftp://ftp.urc.ac.ru/pub/local/OS/Unix/converters/iconv-0.4.tar.gz

The iconv charset-conversion patch gives pine support
to convert message text using any supported conversion
supported by your implementation of iconv().

Usually this includes even for example UTF-8, KOI8-R, EUC-KR, Big5 and GB2312.

This patch can be used to read, forward, reply, export and print mails
from any source which is convertible to the "character-set" setting of
the user's pine config.

In addition, mails can be converted to a different send-charset on send,
if wanted.

In comparsion to the last version(iconv-7d-2.diff) which is described on

   http://www.suse.de/~bk/pine/iconv/FAQ.html

I've updated the new patch(pine-iconv-7e.patch) to 4.58 and fixed a bug
where the message text of a answered mail which had attachments and
include-attachments-in-reply was set, was not relableled to the new
charset.

Note, the new patch is only very lightly tested(but the changes are not big).

As always I'm happy for feedback:

   http://www.suse.de/~bk/pine/iconv/4.58/pine-iconv-7e.patch

Bernhard Kaindl
http://petition.eurolinux.org
http://wiki.ael.be/index.php/BigDemo27aug
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Nicolas Christin <[email-masked]>
Date: Wed, 10 Sep 2003 16:56:13 -0700 (PDT)

Hello -

The User-Agent patch has been updated for 4.58. See
<http://www.sims.berkeley.edu/~christin/software.shtml#pine> for more
details.

(Observant people will note that the URL for the patch has
changed. The old URL still works courtesy of a .htaccess redirect, but
please update your bookmarks/links.)

Thanks,
-- 
Nicolas

---

From: Nicolas Christin <[email-masked]>
Date: Wed, 10 Sep 2003 17:06:13 -0700 (PDT)

Hello -

I tried to compile pine (4.56, and 4.58) under Cygwin 1.5.3, and the
compilation process went just fine.

However, there are many problems with displaying messages stored in IMAP
folders. Some of them are truncated, headers are messed up - basically
it looks like pine doesn't manage to properly recognize the boundaries
between messages under Cygwin anymore. I highly suspect a glitch with
the compiler (gcc-3.2-3 for Cygwin) that probably messes up a cast (and
chaos ensues), but was wondering if anyone else had observed the same
behavior. (Eduardo?) I looked at the gcc warnings, and there are a
couple of questionable casts, but they don't seem to be in places that
would be called by mailview.c.

Note: my old pine-4.56, compiled under Cygwin 1.3.22 worked like a
charm. I don't remember which gcc was used at the time, though (3.2-x,
but x is an unknown). And as a disclaimer, the integrity of the IMAP
folders in question is fine.

-- 
Nicolas