error while storing data in datastore
- by Rahul99
for st in Traks :
trak = TrakHtml()
trak.hawb = st
url = 'http://etracking.cevalogistics.com/eTrackResultsMulti.aspx?sv='+st
result = urlfetch.fetch(url)
trak.htmlData = result.content
trak.put()
trak.htmlData is a textproparty(). It's giving this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 29284: ordinal not in range(128)