Hi, Attila Lendvai <att...@lendvai.name> skribis:
> Without this the git-fetch GEXP is run in an environment that uses ASCII > character encoding when strings are crossing the Guile - C boundary. It means > that e.g. tag names that have Unicode chars in them will cause problems, > e.g. when walking and deleting the .git directory. > > An example in the wild: https://github.com/klauspost/pgzip/tags > > For more details see: https://issues.guix.gnu.org/54893 > > * guix/git-download.scm (git-fetch): Call setlocale to set it to en_US.utf8. [...] > + (define glibc-locales > + (module-ref (resolve-interface '(gnu packages base)) 'glibc-locales)) I changed this to ‘glibc-utf8-locales’, which is sufficient here, and committed. Thanks everyone for the investigation and fix! Ludo’.