[issue40435] IDLE should catch user config file UnicodeDecodeError

2020-04-29 Thread
左迟 added the comment: Well, I have uploaded my ~/.idlerc/config-main.cfg. And apeeding "encodin=utf-8" is my first time to edit config-main.cfg file manually. The content of config-main.cfg is below: 1 [EditorWindow] 2 font-size = 16 3 font-bold = False 4 encoding = utf-

[issue40435] IDLE should catch user config file UnicodeDecodeError

2020-04-29 Thread
左迟 added the comment: Hi! Thanks for your useful comment. And I'm sorry for uploading the image but not pasting it in the comment. When I append "encoding=utf-8" to ~/.idlerc/config-main.cfg, the idle turns to be good and works well. Yes, the "[] Beta: Use Unicode UTF8 for wor

[issue40435] Failed to launch IDLE in a UTF-8 code page terminal environment

2020-04-29 Thread
New submission from 左迟 : Environment: 1.OS: Windows 10 1909 Pro 2.Python version: 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)] 3.Error message: UnicodeDecodeError: 'CP_UTF8' codec can't decode byte 0xd0 in position 23: No mapping for the Unicode character exists