SyntaxError: invalid or missing encoding declaration

created at 10-26-2021 views: 53

solution

File>>Settings>>Editor>>File Encodings:

and change the encoding to utf-8:

file encoding

created at:10-26-2021
edited at: 10-26-2021: