added a guess for the character encoding