In example/cgi/executing-another-file.cgi, when executing a file containing Swedish characters the script fails on the student server. Adding encoding to open() makes it work, if changing
exec(open(fullpath).read())
to:
exec(open(fullpath, encoding='utf-8').read())
In example/cgi/executing-another-file.cgi, when executing a file containing Swedish characters the script fails on the student server. Adding encoding to open() makes it work, if changing
exec(open(fullpath).read())
to:exec(open(fullpath, encoding='utf-8').read())