H
H
honchel2020-12-15 04:19:30
Python
honchel, 2020-12-15 04:19:30

Unicodedecodeerror 'utf-8' codec can't decode byte 0xe2 in position 0 invalid continuation byte how to solve?

I tried to change the encoding through notepad, no change.

from flask import Flask

app = Flask(__name__)
@app.route('/')
def hello() -> str:
    return '1'

app.run()

Can he swear in Cyrillic on the way?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question