In Python3 all strings are UTF-8 encoded. So I removed the code about UTF-8 filtering that also uses the not Python3-compatible literal syntax (uxxx) for UTF-8 string