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

2020-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The uploaded .png has the traceback. (Pasting it into the post would have been fine and a bit easier for all of us.) The error occurred when IDLE's config tried to load the user config files, ~/.idlerc/config-xyz.cfg. (~ is usually C:/Users/yourname.) conf

[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 in the targ