> On 30 Jan 2019, at 20:27, David Wright <lily...@lionunicorn.co.uk> wrote: > > On Wed 30 Jan 2019 at 16:42:22 (+0000), MING TSANG wrote: >> http://lsr.di.unimi.it/LSR/Snippet?id=197 >> >> I copy the above snippet and name it test_file-name_info.ly and run with >> fracobaldi3.01 + lilypond2.19.82 it produces desired file infomation. >> Then I rename the file as test_中文.ly (UTF-8 Chinese characters) and execute >> and the following error occurs: >> Starting lilypond-windows.exe 2.19.82 [test_中文.ly]... >> warning: cannot find file: `C:/Users/yming/Documents/test_??.ly' >> >> fatal error: failed files: "C:/Users/yming/Documents/test_??.ly" >> >> Exited with return code 1. >> >> Question: Window 10 support UTF-8 file name and lilypond does not. Is there >> any work around? > > That snippet puts the filename into the score, doesn't it? > Have you ever had this working or is this effectively a repeat of > http://lists.gnu.org/archive/html/lilypond-user/2015-11/msg00325.html
FYI, on MacOS, the error is as below: Guile makes a translation error. If the second CJK character is deleted from the filename, then it compiles without this error. -- $ lilypond 'test_中文.ly' GNU LilyPond 2.19.82 Processing `test_中文.ly' Parsing... test_中文.ly:10:2: error: GUILE signaled an error for the expression beginning here # (define siz (object->string (stat:size (stat filen)))) No such file or directory: "test_中?\\x87.ly" test_中文.ly:14:2: error: GUILE signaled an error for the expression beginning here # (define modt (stat:mtime (stat filen))) No such file or directory: "test_中?\\x87.ly" test_中文.ly:15:2: error: GUILE signaled an error for the expression beginning here # … -- _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user