repobee / repobee-sanitizer

A plugin for sanitizing master repositories before distribution to students
MIT License
2 stars 3 forks source link

ISO8859-encoded files cause crashes #64

Closed slarse closed 4 years ago

slarse commented 4 years ago

As mentioned in #63, the file command seems to only give ISO8859 when guessing the encoding of an ISO8859-encoded file. We could simply have _fileutils.guess_encoding check for ISO8859 (exactly that), and just append -1 to the encoding. That should... mostly work.