Can anyone write utf-8 in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Can anyone write utf-8 in python

SyntaxError: Non-UTF-8 code starting with '\xda' in file /storage/emulated/0/Add members s (1)/LastSeenByWeek.py on line 8, but no encoding declared; see https://python.org/dev/peps/pep-0263/ for details

31st Oct 2021, 8:16 AM
Gopal technical view
Gopal technical view - avatar
3 Answers
+ 1
Can you show the code you're getting the error from?
31st Oct 2021, 12:50 PM
Steve
Steve - avatar
+ 1
Can you make it public in Sololearn and link to it here? So we can actually see it
31st Oct 2021, 12:53 PM
Steve
Steve - avatar
0
Yes
31st Oct 2021, 12:51 PM
Gopal technical view
Gopal technical view - avatar