https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99210
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- I think the patch works fine as is as far as I can tell. There will be a similar fix for writing files with encoding='utf8'
jvdelisle at gcc dot gnu.org via Gcc-bugs Mon, 03 May 2021 19:29:23 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99210
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- I think the patch works fine as is as far as I can tell. There will be a similar fix for writing files with encoding='utf8'