Issues with file encoding #746
Labels
enhancement
Issue/PR that involves features, improvements and other changes
language
PR / Issue deals (partly) with new and/or existing languages for JPlag
minor
Minor issue/feature/contribution/change
JPlag is currently built for UTF-8 encoding and may reject submissions that have improper encoding (e.g. the Java language module and ANSI files). Maybe we can come up with a more convenient system that is more tolerant.
We could use heuristics like https://github.com/albfernandez/juniversalchardet, for an example, see:
https://github.com/Feuermagier/autograder/blob/1a47ee7ea91d3d2f7563053528124fd18c2c037f/autograder-core/src/main/java/de/firemage/autograder/core/file/UploadedFile.java#L41-L56
The text was updated successfully, but these errors were encountered: