> As you can see, it's only a matter of replacing one line with another.
Works much better but a small bug seems to have been introduced..;-)
In this case i attached the file "Bj�rnhuvud att g�ra lista.doc"
to a mail and sent it to myself..
In the list of attachements i got the following.
-----
Attachments:
;Bj�rnhuvud att g�ra lista.doc
-----
Note the ";" ( semicolon" ) in the beginning of the filename..
If i grab the mime headers in the mail it looks like this...
------=_20030903075459_58273
Content-Type: application/msword; name="
=?iso-8859-1?Q?Bj=F6rnhuvud_att_g=F6ra_lista.doc?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="
=?iso-8859-1?Q?Bj=F6rnhuvud_att_g=F6ra_lista.doc?="
There as far as i can read QP the file name encoding is correct but
for some reason a ";" is introduced in the beginning of the filename
when it is decoded and presented.
Perhaps it is the newline that is chenged into a ";" for some reason
since the line is broken..
When downloading i also get (almost) this ";" but it is changed to
"_", most likely because of the regexp.
I cannot remember that i have seen this stuff before.. I.e.
even that the filename was garbage the ";" was not there...
/SqM
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users