Re: Running script from directory with UTF-8 characters

2015-12-21 Thread Marko Rauhamaa
Chris Vine : > 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 cou

Re: Running script from directory with UTF-8 characters

2015-12-21 Thread Chris Vine
On Tue, 22 Dec 2015 01:19:36 +0200 Marko Rauhamaa wrote: > Vicente Vera : > > > 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 >

Re: Running script from directory with UTF-8 characters

2015-12-21 Thread Marko Rauhamaa
Vicente Vera : > 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: [..

Running script from directory with UTF-8 characters

2015-12-21 Thread Vicente Vera
Hello. I'm sorry if this is the wrong list (I'm not sure if its a bug). I wrote a small test script: #!/usr/bin/guile -s !# ;; coding: utf-8 (display "hey") (newline) This happens when I try to run it from a directory with UTF-8 characters: $ cd ~/código/ $ ./test.scm ;;; Stat of /home/me/c??di