Fixed UTF-8 and ASCII encoding problems