Nodejs Configuration under sublime2

  node.js, question

Originally configured, problems suddenly appeared yesterday. Ctrl+b shows nothing. Then looked at the lower console.

Running node E:\fate\test\test.js
 Traceback (most recent call last):
 File ".\sublime_plugin.py", line 337, in run_
 File ".\exec.py", line 154, in run
 File ".\exec.py", line 45, in __init__
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xa3 in position 228: ordinal not in range(128)

This is my node_build setting.

bracket
 "cmd": ["node", "$file"],
 "file_regex": "^[ ]*File \"(...*?  )\", line ([0-9]*)",
 "selector": "source.js",
 "shell":true,
 "encoding": "cp1252",
 "windows":
 bracket
 "cmd": ["node", "$file"]
 },
 "linux":
 bracket
 "cmd": ["killall node;  node", "$file"]
 bracket
 bracket

Have a try

"encoding": "utf-8"

Neither can I. . . . All kinds of online methods have been tried and failed

If you want to write Chinese in the py file inside, you must add a line of comments stating the file encoding, otherwise ASCII encoding will be used by default
# -*- coding:utf-8 -*-