Fixed UTF-8 for input from file.