Pycharm Python compiler does not recognize Chinese characters

method one:

You may find themselves in Baidu, as UTF-8, set the encoding format and then upgrade Sogou input method to the latest version.

Method Two:

I personally tested Baidu methods, to no avail, and then switch a bit of Python version, it will be solved.

 

Guess you like

Origin www.cnblogs.com/ybl20000418/p/11407938.html