Open remedywilliams opened 4 months ago
The issue you're having is an encoding issue.
Your file has a few non-ASCII characters:
any of them might be causing this.
I checked the encoding of your file:
$ uchardet quiz.txt
UTF-8
which is what I would expect.
The code that is reading this is:
scala.io.Source.fromFile(configLocation).mkString
This uses an implicit encoding, potentially the default encoding of the system that is running. It would probably be better to explicitly make this UTF-8.
As a workaround, it's probably easiest if you replace the unicode characters by ASCII characters. I think π is the most likely one to cause an issue
quiz.txt Tried an "all math" quiz, and got the following. Including the YAML I used (as .txt)