Hi, You are correct, this is a bug and it has been fixed in the latest version of the Python client library. You can get the latest version from SVN -
http://code.google.com/p/gdata-python-client/source/checkout Thanks, Austin On Feb 7, 2008 4:54 PM, Virgil Griffith <[EMAIL PROTECTED]> wrote: > > In function CreateClassFromXMLString, there is an issue in lines: > > if string_encoding: > tree = ElementTree.fromstring(xml_string.encode(string_encoding)) > else: > if XML_STRING_ENCODING: > tree = > ElementTree.fromstring(xml_string.encode(XML_STRING_ENCODING)) > else: > tree = ElementTree.fromstring(xml_string) > return _CreateClassFromElementTree(target_class, tree) > > > I've had several google calendar feeds barf reporting a > UnicodeDecodeError. I tried adding 'ignore' and 'replace' to the > encode() however it didn't help. In the mean time I'm just doing to > do a try/except. > > -Virgil > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
