https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65144
--- Comment #5 from Zaak <zbeekman at gmail dot com> --- Alright, I agree with Dominique, this bug report was erroneous on my part. In the two follow up programs I posted, (modifing Dominique's) I accidentally used `unip` substrings instead of `uni` substrings. In my original post the issue is that I didn't open stdout with `encoding='utf-8'` and gfortran doesn't allow unicode/utf8 encoded source files (trying to add `-finput-charset=utf8` to the gfortran flags results in an error: "f951: warning: command line option '-finput-charset=utf8' is valid for C/C++/ObjC/ObjC++ but not for Fortran") I think I'll close this unless anyone objects.