风笑雪,

Thanks.

That .encode does not fix my problem, unfortunately.
When I try to do a logging.info I get the following error
as I did for plain body.

Do you have any different ideas, please?

logging.info("SendMessage body %s " % body)

*********error produced below*******

Traceback (most recent call last):
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/ext/webapp/__init__.py", line 500, in __call__
    handler.post(*groups)
  File "/Users/brian/googleapps/howsmy/main.py", line 213, in post
    logging.info("SendMessage body %s " % body)
TypeError: not all arguments converted during string formatting

On May 30, 3:48 am, 风笑雪 <[email protected]> wrote:
> You can try to encode it:
> body = message.comment.encode('utf8')
>
> 2009/5/30 thebrianschott <[email protected]>
>
>
>

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