Skip to content

Commit 7392225

Browse files
authored
Merge pull request #6 from SummerGGift/optimize
【修改】:完善修改编码页判断
2 parents 97a5bea + c4920c4 commit 7392225

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)