Chinese string of problems visual studio 2015 under the python programming

visual studio 2015 Powerful Programming, written in python to play is also very convenient, but its support for Chinese characters is not very good, often inexplicable errors, the most common mistake is not being given, nor execute code.

The code is simple as follows:

x = '123 method'
Print (X)

It does not even execute, without any problems at IDLE, resolve as follows:

1. IDLE open, the window displays the acknowledgment code, as follows:

   

Confirm, and then you can view the code in IDLE.

2. Save the code in IDLE.

3. Return to the VS window down, reopen the file, then re-execution would be no problem.

 

You should be set up, but could not find a place setting

Guess you like

Origin www.cnblogs.com/imhuanxi/p/10950794.html