Some .bat files like the one for Light Corridor, The (1990) (tatou.bat) uses original DOS/IBM encoding cp437 but we try to read convert and write them in 'utf-8' and this fail on Linux but not windows ...
File like this can be correctly read in notepad++ with encoding Encoding > Character Sets > Western European > OEM US
See if using cp437 encoding for reading and writing can solve the issue
Some
.bat
files like the one forLight Corridor, The (1990)
(tatou.bat
) uses original DOS/IBM encodingcp437
but we try to read convert and write them in 'utf-8' and this fail on Linux but not windows ...File like this can be correctly read in notepad++ with encoding
Encoding > Character Sets > Western European > OEM US
See if using
cp437
encoding for reading and writing can solve the issuehttps://riptutorial.com/encoding/example/23227/how-to-detect-the-encoding-of-a-text-file-with-python-