修复 Python3 代码中中文编码报错的问题
This commit is contained in:
@@ -169,7 +169,7 @@ _py3_lang_config = {
|
|||||||
"run": {
|
"run": {
|
||||||
"command": "/usr/bin/python3 {exe_path}",
|
"command": "/usr/bin/python3 {exe_path}",
|
||||||
"seccomp_rule": "general",
|
"seccomp_rule": "general",
|
||||||
"env": default_env
|
"env": default_env + ["PYTHONIOENCODING=utf-8"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user