More to come in following MRs, but the fundamental changes are all here
Fixes gimp#5090 (closed)
Related to gimp!800 (merged)
Note: the issues arise not only when GIMP is installed in directories containing non-ASCII characters, but also if the user name contains non-ASCII characters, since e.g babl looks in the %USERPROFILE% directory