def utf8tounicode(arg):
if PY2 and isinstance(arg, binary_type):<EOL><INDENT>return arg.decode('<STR_LIT:utf-8>')<EOL><DEDENT>return arg<EOL>
Convert UTF8-encoded bytes to strings.

    Only in Python 2. In Python 3 the errors are returned as strings.