On Jul 5, 12:29 pm, Vladimir Prudnikov <[email protected]> wrote:
> 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. I'm sending email from Gmail web
> interface. Writing subject string into database, decogind, encoding to
> utf-8 etc... always the same string.
>
> Russian text in body works fine at the same time.
>
> What I'm doing wrong? Is it bug?
Yes it appears somewhat buggy but works here ie
Date: 2010/7/6
Subject: Действие 05 июль Добро пожаловать, Вход recommends Planos de
Saúde
To: [email protected]
Действие 05 июль Добро пожаловать, Вход 
www.koolbusiness.com/1569187/planos-de-sade
with code disponible via montao.googlecode.com
also hoping this link helps
http://appengine-cookbook.appspot.com/cat/?id=ahJhcHBlbmdpbmUtY29va2Jvb2tyFgsSCENhdGVnb3J5IghNYWlsIEFQSQw

-- 
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