When trying to decode a file with portuguese characters on Windows, the code returns this error: UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 3471: character maps to <undefined>