Closed
Description
We had the following exceptions on generating the coverage: java.nio.charset.MalformedInputException: Input length = 1
. It turned out that Scoverage sets an UTF-8 encoding for writing files but not for reading, e.g. in CodeGrid. I suggest Source.fromFile(mfile.source, "UTF-8").mkString
because Scoverage should not rely on the JVM default encoding if it is using UTF-8 for writing.