Searched refs:try_encode (Results 1 – 2 of 2) sorted by relevance
39 def try_encode(string, enc): function
494 utf8_path = unicode_utils.try_encode(u_path, "utf-8")