|
XML Unicode Error: msg#00233org.google.api.calendar
Hi there, I pull back a query and I'm simply trying to encode the XML data returned in UTF-8 which it already should be in and Python throws an error. Could this be a bug in google's data? Details (Hope posting doesn't lose encoding) Code: data = data.encode("utf-8") Error: (position 370 ends up being the enye in my name or close to it) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 370: ordinal not in range(128) Partial XML (data) <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:gCal='http://schemas.google.com/gCal/2005'><id>http://www.google.com/calendar/feeds/default/private/full</id><updated>2006-09-27T04:28:21.000Z</updated><title type='text'>Gregory Piñero</title><subtitle type='text'>Includes old Outlook stuff</subtitle><link ... |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How to Perform a Search Within Events?: 00233, gregpinero@xxxxxxxxx |
|---|---|
| Next by Date: | Re: Recurring events: 00233, Frank Mantek |
| Previous by Thread: | Bug: ERR_QUOTAi: 00233, Mark Swanson |
| Next by Thread: | Re: XML Unicode Error: 00233, Kyle Marvin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |