Subject: ilegible characters in form field

From: "Eddie Salazar C." <[email-masked]>
Date: Tue, 10 Jun 1997 09:30:53 -0600

When I received mail from some e-mail programs like Eudora, the from
field contains some characters like:

Date: Tue, 10 Jun 1997 09:01:13 +0100
From:
=?iso-8859-1?Q?An=EDbal_Mayorga_=3Camayorga=40catie.ac.cr=3E?=@computo.catie.ac.

cr
To: [email-masked]
Subject: ÁÉéíó

This problem is present when the originate user is using Spanish
(acentuation words).

Thanks for your help.

---

From: "Robin S. Socha" <[email-masked]>
Date: 10 Jun 1997 17:54:07 +0200

>> Regarding ilegible characters in form field; "Eddie Salazar C."
>> <[email-masked]> adds:

Eddie> When I received mail from some e-mail programs like Eudora, the
Eddie> from field contains some characters like:
Eddie> Date: Tue, 10 Jun 1997 09:01:13 +0100 From:
Eddie> =?iso-8859-1?Q?An=EDbal_Mayorga_=3Camayorga=40catie.ac.cr=3E?=@computo.catie.ac.
Eddie> cr To: [email-masked] Subject: AIims
Eddie> This problem is present when the originate user is using
Eddie> Spanish (acentuation words).

This problem is well known :-) Only plain ascii is allowed in the
header of emails, but what you get is iso-8859-1, because you're
friend is using Spanish. There is a workaround with procmail, but
generally, it'd be better if your friend stuck to the conventions,
i.e. he didn't use diacritics in the headers of his emails.

If you like, you can put the following into your .procmailrc:

     -------------8<--------- snip here -----8<------------------
:0 fh
* =\?ISO-8859-[0-9]+\?Q\?
|perl -pe 's#=\?ISO-8859-\d+\?Q\?(.*?)\?=#$s=$1;
$s=~s/\s+(\r?\n)/$1/g;'\
-e '$s=~s/=\r?\n//g; $s=~s/=([\da-fA-F]{2})/pack("C", hex($1))/ge;'\
-e '$s#ge;'
     -------------8<--------- snip here -----8<------------------

HTH,
Robin 

-- 
Robin S. Socha, M.A., Political Science Dept., Bonn University, Bonn
To get my pgp public key, send an e-mail with the subject "get pgp key"
GMC d++ s+:+ a- C++ UL++$>+++$ P+>++$ E>+ W- N+ o@ w--- M-- PS--- PE+++ Y+
PGP++>+++ t+() 5-- tv++(+) b+++ DI++ D+(++) G++>+++ e++>+++ h r++>+++ y+**

---

From: Pere Camps <[email-masked]>
Date: Wed, 11 Jun 1997 00:56:10 +0200 (MET DST)

Eddie,

> =?iso-8859-1?Q?

> This problem is present when the originate user is using Spanish

	[S]etup -> [C]onfig -> character-set -> ISO-8859-1

Salutacions, Pere       ----  __o             CIS: 100340,2110
  2:343/108.91       -----  _`\<;_        mailto:[email-masked]
PGP key available     ---  (_)/ (_)      http://casal.upc.es/~pere/