repobee / repobee-sanitizer

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

File encodings #16

Closed slarse closed 4 years ago

slarse commented 4 years ago

We need to be open for the fact that file encodings may differ. There are a few ways to deal with this:

  1. Assume UTF8. This will probably mostly work.
  2. Allow the user to specify file encoding (globally, per file is too much work).
  3. Try to guess file encoding. chardet should be able to do that.
tohanss commented 4 years ago

Fixed as of #63 and #69