Hi, consider the attached file, containing nothing else then:
(newline) (write (command-line)) (newline) (write (map string->symbol (command-line))) After navigating into the containing folder I get in terminal (with guile 2.0.13): $ guile filename_名字.scm ;;; Stat of /home/hermann/Desktop/filename_??.scm failed: ;;; ERROR: In procedure stat: No such file or directory: "/home/hermann/Desktop/filename_\u540d\u5b57.scm" Backtrace: In ice-9/boot-9.scm: 160: 8 [catch #t #<catch-closure 55ca1e998460> ...] In unknown file: ?: 7 [apply-smob/1 #<catch-closure 55ca1e998460>] In ice-9/boot-9.scm: 66: 6 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 5 [eval # #] In ice-9/boot-9.scm: 2404: 4 [save-module-excursion #<procedure 55ca1e9ba9c0 at ice-9/boot-9.scm:4051:3 ()>] 4058: 3 [#<procedure 55ca1e9ba9c0 at ice-9/boot-9.scm:4051:3 ()>] 1727: 2 [%start-stack load-stack ...] 1732: 1 [#<procedure 55ca1e9cfdb0 ()>] In unknown file: ?: 0 [primitive-load "/home/hermann/Desktop/filename_\u540d\u5b57.scm"] ERROR: In procedure primitive-load: ERROR: In procedure open-file: No such file or directory: "/home/hermann/Desktop/filename_\u540d\u5b57.scm" Doing the same with guile-1.8: $ guile-1.8 filename_名字.scm ("filename_�\x90\x8d字.scm") (filename_名字.scm) This is a follow up to this thread on guile-user: http://lists.gnu.org/archive/html/guile-user/2016-11/msg00031.html While the reply is surely correct in his analysis I don't get closer to solve the issue. Any hint on this or is it a bug? Cheers, Harm
(newline) (write (command-line)) (newline) (write (map string->symbol (command-line)))