I'm trying to use compressed data with my Tasks in the Task Queue like so:
t = taskqueue.Task(url='/tasks/queue',
params={'param': zlib.compress(some_string)}
However when I try to decompress it in the queue handler like so
message = self.request.get('param')
message = zlib.decompress(message)
I get this error:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u06b8' in position 2: ordinal not in range(128)
Anyone know of what's going on here? Is there a work around?