The default configuration of pycharm will cause the created files to be saved in GBK format.
This triggers UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xba in position 92: invalid start byte error
Check that the view.py | settings.py | html files are all configured with utf8, so it is an editor problem.
Modify: file – settings – file encodings – IDE Encoding | Project Encoding UTF-8
default encoding for properties files :utf-8
Modify: file – default settings – file encodings – IDE Encoding | Project Encoding UTF-8
default encoding for properties files :utf-8