$ echo 'int main() {return 0;}' >програма.c
$ guix shell --container gcc-toolchain -- gcc програма.c -o програма.o
$ ls *.o
'????????????????.o'
$ rm *.o
$ # binutils overrides the built-in ld-wrapper, which breaks some libraries,
but fixes this example
$ guix shell --container gcc-toolchain binutils -- gcc програма.c -o програма.o
$ ls *.o
програма.o
$ # c files and executables are rarely named with unicode, but this behavior
makes some build systems unusable, as they pass a full path, e.g.
/home/user/Документи/... to gcc and ld
$bug#59031: ld-wrapper replaces unicode character with question marks
two--- via Bug reports for GNU Guix Fri, 04 Nov 2022 17:51:28 -0700
