fix parsing of feeds that include unicode characters #59

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@smarx
smarx commented Aug 23, 2012

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 azure.storage import TableService
ts = TableService('<ACCOUNT>', '<KEY>')
ts.create_table('test')
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
@smortaz
smortaz commented Oct 16, 2012

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

@andrerod

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

So I'm going to close this PR.

Thanks once again and keep them coming,
Andre

@andrerod andrerod closed this Oct 17, 2012
@smarx
smarx commented Oct 17, 2012

Yup, I saw that. Thanks, Andre.

On Wed, Oct 17, 2012 at 9:18 AM, André Rodrigues
notifications@github.comwrote:

Steve, thanks for your fix. It seems this had already been applied in:
WindowsAzure/azure-sdk-for-python@3e4404dhttps://github.com/WindowsAzure/azure-sdk-for-python/commit/3e4404dea47139070baac4b6de4c5f7f051cb099

So I'm going to close this PR.

Thanks once again and keep them coming,
Andre


Reply to this email directly or view it on GitHubhttps://github.com/WindowsAzure/azure-sdk-for-python/pull/59#issuecomment-9533487.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment