[pmmail-list] Script for inline-"iso-ing" of umlauts in attachment names

Axel Hagedorn pmmail-list@blueprintsoftwareworks.com
Mon, 21 Oct 2002 11:09:40 +0200 (CES)


Hello.

Is there anybody, who made a little script that changes the name of an 
attachment that contains a german umlaut (or other country-specific 
letters) to inline-iso before the mail gets sent.

An example: This is how PMMail/2 attaches a file called "überweisung.jpg":

Content-Type: image/jpeg; name="überweisung.jpg"

If this is done on an OS/2 machine and sent to a windows machine - the 
target does not display the umlaut right (of course - its coded with CP850 
and windows expects CP1004).

BTW: The same problem applies to mails with PMMail sent from Windows to 
OS/2 - just vice versa.

This problem could be solved if the name of the attachment would be 
encoded in iso-8859-1 - inline - like it's done with umlauts in the 
subject.

If the content-type line would read like that - everything would be fine:

Content-Type: image/jpeg; name="=?iso-8859-1?q?=FCberweisung.jpg?="

If noone made a script yet - what about fixing it in the program 
blueprint? (Maybe there is even a chance of getting this fix for the 
fading OS/2 version, cause it appears in both Win and OS/2?)

Regards

 Axel

-- 

   "If Microsoft is ever going to produce something that does not suck,
                  it is very likely a vacuum cleaner."

    Axel Hagedorn - axel.hagedorn@gmx.de @epost.de @web.de - Darmstadt
 ------------------------------------------------------------------------
             Do not use HTML - PGP-Key and ICQ-UID on request

- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com

To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com 
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------