It looks like InboundEmailMessage.subject doesn't support unicode strings.

class AllMailHandler(InboundMailHandler):
    def receive(self, message):
        logging.info(message.subject)

it writes =?UTF-8?B?0L/RgNC40LLQtdGC?= in the logs when I send email message
with russian text in subject from Gmail. Writing it into database,
decogind, encoding to utf-8 etc... always the same string.

Russian text in body works fine.

What I'm doing wrong? Is it bug?

-- 
Regards, Vladimir Prudnikov.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to