Martin Furmanski <[EMAIL PROTECTED]> wrote:
> part of an offending mail
> 
> start offending mail
> --=====000_Dragon381477005134_=====
> Content-Type: image/jpeg;
>       name="Stvr mig inte.jpg"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
>       filename="Stvr mig inte.jpg"
> 
> /9j/4AAQSkZJRgABAQE
> end offending mail
> 
> So how should the mailclient really do this? Was thinking on
> giving the client-developer some feedback.

Non-US-ASCII values of parameters (like "name" or "filename") of MIME header fields 
(like "Content-Type" or "Content-Disposition") must be encoded according to RFC 
2231[1].  In your case:

| Content-Type: image/jpeg;
|   name*=iso-8859-1''St%F6r%20mig%20inte.jpg
| Content-Transfer-Encoding: base64
| Content-Disposition: attachment;
|   filename*=iso-8859-1''St%F6r%20mig%20inte.jpg

[1] http://www.faqs.org/rfcs/rfc2231.html



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to