Searched refs:_to_utf8 (Results 1 – 4 of 4) sorted by relevance
174 password = webapp2._to_utf8(password)183 h = hmac.new(webapp2._to_utf8(salt), password, method)188 h = hmac.new(webapp2._to_utf8(pepper), h.hexdigest(), method)
68 res = webapp2._to_utf8('ábcdéf'.decode('utf-8'))71 res = webapp2._to_utf8('abcdef')
1847 import_name = _to_utf8(import_name)1883 path = urllib.quote(_to_utf8(path))1893 fragment = urllib.quote(_to_utf8(fragment))1919 def _to_utf8(value): function
298 - Added back _to_utf8() to convert values for import_string() and urlunsplit().