bpo-41300: IDLE - save files with non-ascii chars  (GH-21512)


Fix regression released in 3.9.0b4 and 3.8.4.
(cherry picked from commit 38d3864efe914fda64553e2ec75c9ec15574483f)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 files changed