Yes, but in the original code it was: `p.encode('utf-8')` but it was already a str.