|FAQ about patches|||||More patches|||||Main Page|
UTF-8 patch for Pine
Versions of pine the patch is available for: pine 4.58 pine 4.61 pine 4.64
This patch was submitted by Bernhard Kaindl.
This patch is based on a patch by Jungshik Shin and can be used as an universal charset translation patch for pine, it can translate beween any encodings supported by iconv()
UTF-8 is one of the charsets supported by iconv but the patch translates beween any pairs supported by iconv, so you can have your display terminal configured for the encoding you want and let the patch use iconv() to convert all mail to this encoding.
The patch also introduces a pine config setting called
Notes for users who want to configure UTF-8 as terminal charset:
Compilation:This patch should work on most modern Linux Distributions and any system where you have an implementation of iconv (e.g. Solaris) and all systems where you can install one. On Linux, you just build pine as ususal, the patch will be actived by default.
On Solaris and other systems use:
./build EXTRACFLAGS="-DHAVE_ICONV" target
The patch uses a define called HAVE_ICONV which indicates if the iconv() library call which is available on this system. If iconv is not provided by the system, one of three freely available implementations can be used.
The original patch from Jungshik Shin sent with documentation, the display-filters described are obsolete now:
Free implementation of iconv, if your system doesn't provide one:
libiconv like in Linux glibc:
The portable iconv implementation by Bruno Haible:
The portable iconv implementation by Konstantin Chuguev:
Last Updated Mon Oct 6 13:56:43 CEST 2003