Thank you Neil,

that is what I needed.

B.

Neil Hodgson wrote:
> 
>  >>> import email.Header
>  >>> x = '=?iso-8859-1?q?somefile=2ezip?='
>  >>> email.Header.decode_header(x)
> [('somefile.zip', 'iso-8859-1')]
> 
>    Neil
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to