Appengine : ‘ascii’ codec can’t decode byte 0xe0 in position 5: ordinal not in range(128)

'ascii' codec can't decode byte 0xe0 in position 5: ordinal not in range(128)

Solution :

Execute setdefaultencoding in Interactive Console at http://localhost:8080/_ah/admin/interactive

import sys
reload(sys); sys.setdefaultencoding('utf-8')

ref : hrstc, gae

Advertisements

One thought on “Appengine : ‘ascii’ codec can’t decode byte 0xe0 in position 5: ordinal not in range(128)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s