fix parsing of feeds that include unicode characters #59

wants to merge 1 commit into

3 participants


Note that I haven't tested this extensively... I've pretty much only tried it with the simple case below:

# -*- coding: utf-8 -*-
import azure
from import TableService
ts = TableService('<ACCOUNT>', '<KEY>')
try: ts.insert_entity('test', {'PartitionKey': 'test', 'RowKey': 'test', 'Description': 'ꀕ'})
except azure.WindowsAzureConflictError: pass
print ts.get_entity('test', 'test', 'test').Description
for e in ts.query_entities('test', "PartitionKey eq 'test'"):
    print e.Description # blows up with encoding error

Thanks Steve for the fix! Much appreciated & folded in.


Steve, thanks for your fix. It seems this had already been applied in:

So I'm going to close this PR.

Thanks once again and keep them coming,

@andrerod andrerod closed this Oct 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment