I had the degree sign (U+00B0) in a comment in my python code, and it caused store_code_state to fail. I think the fix here is as simple as changing open(diff_file_name, "x") to open(diff_file_name, "x", encoding="utf-8"). If I tested this and made a pull request, could someone review and merge?
I had the degree sign (U+00B0) in a comment in my python code, and it caused
store_code_state
to fail. I think the fix here is as simple as changingopen(diff_file_name, "x")
toopen(diff_file_name, "x", encoding="utf-8")
. If I tested this and made a pull request, could someone review and merge?