Folks, Rafe Kaplan of the AppEngine team here. I'm going to fix a small issue that might effect applications that want to export Blob data as XML. It's been reported as issue 430, and you can read about it here:
http://code.google.com/p/googleappengine/issues/detail?id=430 The output of the XML document being produced by the to_xml method is always a Unicode string. The problem arises when binary data is converted to unicode which doesn't encode properly. The solution that I am going to pursue is to convert all Blob objects to a text encoding format. I was thinking that base64 is a typical solution, but wanted to find out if anyone on the boards had opinions or ideas about how better to encode binary data in to an XML document. Also, this change will change the behavior of applications that already output Blob data to XML. Normally, we do not make changes to API's that can break already existing application, but given that this function is probably broken in most places it is being used, it seems appropriate. Hopefully, those applications will already treat text in such output as opaque binary data. I cannot promise that I will honor all ideas, but I want to hear as many as I can. I don't believe I've thought of everything! So, please respond to this thread with ideas and suggestions if this feature interests you. - Rafe Kaplan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
