Thanks.
Your advice and this link does indeed suggest there is something in the
incoming email containing Arabic characters:
http://www.mail-archive.com/perl4lib(_at_)perl(_dot_)org/msg00546.html
I'm not 100% sure however why the hard coded text that my procmail code
sends out should then arrive in my US email in this format.
Cheers
Shane
From: "Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl>
Date: Mon, 8 Feb 2010 15:00:41 -0500
To: "procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE"
<procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Subject: Re: Character set change
JW Simpson wrote:
On Mon, 2010-02-08 at 16:58 +0100, Paul Bijnens wrote:
On 2010-02-08 16:46, sreti(_at_)bidmc(_dot_)harvard(_dot_)edu wrote:
[...]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding:
base64
MIME-Version: 1.0
Y�\�g���^���*ޱǧ�#&�z>�
�����,DC�bܩy#Lq
z{^�*.��h��%��,{O}��ݦ���!
:�E�b
I'm pretty
certain that garbage is not in "base64".
Another matter is how that
garbage got there, of course, seeing
the message passed through several
hosts all capable of screwing up
the message...
Definitely not base64
...
john(_at_)system76-pc:~/sreti$ echo -n "$STRING" | hexdump -C
00000000 59
ef bf bd 5c ef bf bd 67 ef bf bd ef bf bd ef |Y...\...g.......|
00000010
bf bd 5e 1a ef bf bd ef bf bd ef bf bd 2a de b1 |..^..........*..|
00000020 c7 a7 ef bf bd 23 12 0e 26 ef bf bd 7a d7 ac 3e
|.....#..&...z..>|
00000030 ef bf bd 20 ef bf bd ef bf bd ef bf bd ef bf
bd |... ............|
00000040 ef bf bd 2c 44 43 ef bf bd 62 dc a9 79 23
12 4c |...,DC...b..y#.L|
00000050 71 0d 0a 7a 7b 5e ef bf bd 2a 2e ef bf
bd ef bf |q..z{^...*......|
00000060 bd 68 ef bf bd ef bf bd 25 ef bf bd
ef bf bd 2c |.h......%......,|
00000070 7b 4f 7d ef bf bd ef bf bd dd a6
ef bf bd ef bf |{O}.............|
00000080 bd ef bf bd 21 0d 0a 3a ef bf
bd 45 ef bf bd 62 |....!..:...E...b|
Heheh, do a google search on "ef bf bd"
...
Hint: U+FFFD ("REPLACEMENT CHARACTER").
--
Ruud
____________________________________________________________
procmail
mailing list Procmail homepage:
http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aac
hen.de/mailman/listinfo/procmail
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail