Those are redirecting stdin and stdout from the real console to their own handlers, so they are responsible for setting the encoding. Both of those examples are able to fix the encoding issues whenever they like - assuming their GUI toolkits can handle it. The change for 3.6 only affected the standard Windows console. Other consoles can specify a different encoding independently.
History
Date
User
Action
Args
2022-04-11 14:58:39
admin
set
github: 72861
2016-12-28 23:38:56
steve.dower
set
status: open -> closedresolution: not a bugstage: resolved