2016-11-27 5:49 GMT+01:00 Andrew Bernard <andrew.bern...@gmail.com>: > Hi Ming, > > > Indeed yes that fails, using a filename with Chinese characters. As as > aside, I myself have been learning to read and write and speak Chinese for a > long time. However, I have never had the need to do it in Lilypond. I am not > sure that lilypond has focused on Chinese character support very much - but > I am not sure. Lilypond does of course support UTF-8, so there is something > fishy going on. > > I'll have a look more deeply into this for you. In the meantime, as > Anglocentric as it may be, can you work with English filenames? > > Andrew
Hi, I tracked it down to a guile problem. I stored in a file called filename_名字.scm nothing else then: ;;;;;;;;;;;;;;;;;;;;;;;;; (newline) (write (command-line)) (newline) (write (map string->symbol (command-line))) ;;;;;;;;;;;;;;;;;;;;;;;;; Navigated to the folder and did: guile-1.8 filename_名字.scm --> ("filename_�\x90\x8d字.scm") (filename_名字.scm) No clue what guile-1.8 does here. The symbol is correct, he string weird. guile2 can't even find the file: guile filename_名字.scm ;;; Stat of /home/hermann/lilypondH/Test/forum/filename_??.scm failed: ;;; ERROR: In procedure stat: No such file or directory: "/home/hermann/lilypondH/Test/forum/filename_\u540d\u5b57.scm" Backtrace: In ice-9/boot-9.scm: 160: 8 [catch #t #<catch-closure 559641347460> ...] In unknown file: ?: 7 [apply-smob/1 #<catch-closure 559641347460>] 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 5596413699c0 at ice-9/boot-9.scm:4051:3 ()>] 4058: 3 [#<procedure 5596413699c0 at ice-9/boot-9.scm:4051:3 ()>] 1727: 2 [%start-stack load-stack ...] 1732: 1 [#<procedure 55964137edb0 ()>] In unknown file: ?: 0 [primitive-load "/home/hermann/lilypondH/Test/forum/filename_\u540d\u5b57.scm"] ERROR: In procedure primitive-load: ERROR: In procedure open-file: No such file or directory: "/home/hermann/lilypondH/Test/forum/filename_\u540d\u5b57.scm" Currently no clue what would be needed to make guile2 work here. Messing around with locales? Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user