Joke Collection Website - Blessing messages - How to solve the problem of Python3 garbled code

How to solve the problem of Python3 garbled code

If there is garbled code when opening a Python file with an editor, please debug the editor to utf-8 or gb23 12 for display. If garbled characters are displayed when running the Python file, please modify the Python file and add: # code = utf-8 at the top of the file.