More fun with encodings: if utf-8 fails, try to guess the encoding and read the file with the guessed encoding again.