PTVS
PTVS copied to clipboard
PLEASE HELP. Non-UTF-8 code starting with '\xff'
SyntaxError: Non-UTF-8 code starting with '\xff' in file C:\Users\zekio\desktop\python_temelleri\first_app.py on line 2, but no encoding declared; see https://python.org/dev/peps/pep-0263/ for details
I tried a very simple print ("xxxx") code and when I tried to run I got this error, I can't figure it out, can you help me please
Hi, can you try going to File -> Save As -> Pick "Save with Encoding..." from the Save dropdown menu -> Pick UTF-8 and see if that issue still persists?
Going to close this out. If the issue still persists, please reopen with the information requested. Thanks.😊