blingenf / copydetect

Code plagiarism detection tool
MIT License
238 stars 36 forks source link

Add encoding control #43

Closed blingenf closed 1 year ago

blingenf commented 1 year ago

This PR allows encoding to be specified with a new --encoding CLI param. For cases where files have mixed encodings, the encoding can be set to DETECT to automatically detect encoding (this will only work if the chardet library is installed).

Addresses #42