Traceback (most recent call last):
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\FlaskWebServer_Jeff\views.py", line 32, in about
return render_template(
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\templating.py", line 133, in render_template
return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\jinja2\environment.py", line 930, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\jinja2\environment.py", line 883, in get_template
return self._load_template(name, self.make_globals(globals))
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\jinja2\environment.py", line 857, in _load_template
template = self.loader.load(self, name, globals)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\jinja2\loaders.py", line 115, in load
source, filename, uptodate = self.get_source(environment, name)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\templating.py", line 57, in get_source
return self._get_source_fast(environment, template)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\flask\templating.py", line 82, in _get_source_fast
return loader.get_source(environment, template)
File "C:\Jeff_Work\python_Work\Jeff_Server\FlaskWebServer_Jeff\env\Lib\site-packages\jinja2\loaders.py", line 184, in get_source
contents = f.read().decode(self.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 163: invalid start byte
怎么解决既能显示中文,又不报错