fix-mime-charset

In non-English mailing lists (particularly in Russian) there is a big problem
with messages, where charset parameter of Content-Type header is set
incorrectly. Sometimes software is buggy, sometimes people cannot set up their
software properly, sometimes web-based email clients do not implement charsets.
While reading such a mail, one should manually switch encoding in MUA back and
forth. Incorrectly encoded or plain 8-bit Subject field is another big problem.
Such fields often get corrupted while passing e-mail gateways.

This program can be used to solve this problem while used as mail filter (in
MTA, procmail or similar program).

Features:

* Multilanguage charset autodetection using ENCA or built-in detector
  (for Russian language KOI8-R, Windows-1251 and UTF-8 charsets only).
* Only charset field of Content-Type header of the message or message subpart
  is touched. Attaches, other headers and body of the message are not touched.
* Interprets multipart messages correctly and processes text/plain subparts
  only.
* Correctly interprets quoted-printable and base64 transfer-encodings.
* Corrects charset in Subject header.
* Can be used to process whole mailboxes in Unix mailbox format ("From" lines
  are used as message delimiters).
* Very fast and uses minimal amount of memory. 

Comments, suggestions and bugreports please send to me:
Dmitry E. Melamud <balu@migdal.ru>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

@(#) $Id: README,v 1.2 2003/11/26 00:12:28 balu Exp $
