Printing escaped Unicode in Python,"print(repr(s.encode('ascii', errors='xmlcharrefreplace'))[2:-1])"