Fixed UTF-8 reading