UnicodeDecodeError while using cyryllic

后端 未结 2 729
小鲜肉
小鲜肉 2021-01-21 02:31

I have a module which contains only (it\'s only example. Problem is in much bigger module):

# -*- coding: utf-8 -*-
\"януари\"

While execution

2条回答
  •  感动是毒
    2021-01-21 02:43

    In PyCharm you can specify UTF-8 encoding in Settings (CTRL+ALT+S) | File encodings. That should work.

提交回复
热议问题