注释# -*- coding: utf-8 -*- 实操问题
在第一行已经添加注释# -*- coding: utf-8 -*-的情况下,依然出现了
Traceback (most recent call last): File "index.py", line 7, in 低头思故乡。''' UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
这种情况,怎么解决?