mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
修复 Python3 代码中中文编码报错的问题
This commit is contained in:
parent
5503b02920
commit
d53f6fd5ad
@ -169,7 +169,7 @@ _py3_lang_config = {
|
||||
"run": {
|
||||
"command": "/usr/bin/python3 {exe_path}",
|
||||
"seccomp_rule": "general",
|
||||
"env": default_env
|
||||
"env": default_env + ["PYTHONIOENCODING=utf-8"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user