Skip to content

Commit c4920c4

Browse files
committed
【修改】:完善修改编码页判断
1 parent dd450a1 commit c4920c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmds/cmd_menuconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ def cmd(args):
242242
if mtime != mtime2:
243243
mk_rtconfig(fn)
244244

245-
if platform.system() == "Windows":
246-
os.system('chcp 65001 > nul')
245+
from cmd_package import determine_support_chinese
246+
determine_support_chinese(env_root)
247247

248248
if platform.system() == "Windows":
249249
env_kconfig_path = os.path.join(env_root, 'tools\scripts\cmds')

0 commit comments

Comments
 (0)