google.appengine.datastore.datastore_stub_util.CheckValidUTF8

Check that the given string is valid UTF-8.

string the string to validate.
desc a description of the string being validated.

apiproxy_errors.ApplicationError if the string is not valid UTF-8.