db.TextProperty() db.Text(), :
instance.xml = db.Text(xml_string, encoding="utf_8")
, . , Unicode XML.
This happened to me when using the Amazon.com product API.
Also, Google urlfetch had Unicode issues related to this thread. So, I ended up working with the minidom parse () function instead of parseString () in returning urllib.urlopen (), which acts like a thread like this to fix the problem:
response = urllib.urlopen(url)
xml = minidom.parse(response)
source
share