On Tue, 22 Dec 2015 01:19:36 +0200 Marko Rauhamaa <ma...@pacujo.net> wrote:
> Vicente Vera <vicente...@gmail.com>: > > > Hello. I'm sorry if this is the wrong list (I'm not sure if its a > > bug). > > Must be a bug. > > > I wrote a small test script: > > The error is reproduced with an empty scm file: > > touch test.scm > guile test.scm > [...] > ERROR: In procedure open-file: No such file or directory: [...] I think the problem is that calling the native 'primitive-load' procedure on a filename with UTF-8 encoding with a character outside the ASCII range (when the locale encoding is also UTF-8) fails to work unless you call '(set-locale LC_ALL "")' in the program first. Of course you can't do that when passing guile a filename as a program argument. It does seem like a weakness, even if not a bug. Chris