Hello, I am looking for a library or function that does the following (my one complaint about Python /GAE is that it does not provide an easy way to sanitize and transcode input to UTF). I have a function that does this pretty reliably, except when it breaks, and was wondering who else has dealt with this issue.
HINT TO FRIENDLY GOOGLE PEOPLE: it would be really nice if you offered an option to sanitize incoming form data so your app does not need to worry about encodings. You'd just assume you're being given properly decoded utf-8, with placeholder characters where decoding failed. Failing that, it'd be nice to have a sanitizer function you can call that knows how to test for and transcode from the most common encodings into utf-8. I know Python supports a lot of different encodings, but it can be very time consuming to track this type of bug because it tends to happen sporadically when an usual string shows up in a request. Thanks, Brian McConnell -- 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.
