Re: problems with mimify.mime_encode_header

2006-06-29 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Egor Duda wrote: > #!/usr/bin/python > # -*- coding: utf-8 -*- > > import mimify > > mimify.CHARSET = 'utf-8' > > print mimify.mime_encode_header('Subject: тест а.\n'); > > Тhe output is: > Subject: =?utf-8?Q?=D1=82=D0=B5=D1=81=D1=82?= а. > > Please note that the last

problems with mimify.mime_encode_header

2006-06-29 Thread Egor Duda
I'm trying to use mimify module and have a problem with mime_encode_header function. Below is the testcase #!/usr/bin/python # -*- coding: utf-8 -*- import mimify mimify.CHARSET = 'utf-8' print mimify.mime_encode_header('Subject: тест а.\n'); Тhe output is: Subject: =?utf-8?Q?=D1=82=D0=B5=D1=8