lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lSR=197


From: Phil Holmes
Subject: Re: lSR=197
Date: Sat, 17 Dec 2016 16:39:54 -0000


As Simon says - if you know that UTF-8 characters in filenames cause problems, why do you use them?  Stick to ASCII.

--
Phil Holmes
 
 
----- Original Message -----
From: MING TSANG
Sent: Saturday, December 17, 2016 4:31 PM
Subject: Re: lSR=197

sorry I hit the wrong key before I complete the email.
Here is the other email message intended to send.
I attached a small snippet contains UTF-8 in file name if compile fine with pdf file name contains the UTF-8.
However the log file cannot display UTF-8 file name (see red text below).
Starting lilypond-windows.exe 2.19.52 [testing-utf-8_file-name_中文.ly]...
Processing `C:/Users/user/Google Drive/CHOIR_2016/testing-utf-8_file-name_����.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-WyLwQu'...
Converting to `testing-utf-8_file-name_����.pdf'...
Deleting `./tmp-lilypond-WyLwQu'...
Success: compilation successfully completed
Completed successfully in 1.5".


filename_名字.ly  is the LSR 197  refer to previous email (which is included in this emai) below:


This is to followup previous "LSR - file information [0.24759]" on Nov 26, 2016.
Is there a work-a-round solution? 


Thank you all for you precious time spend on this LSR 197

Immanuel,
Ming

From: MING TSANG <address@hidden>
To: Lilypond-usermailinglist <address@hidden>
Sent: Saturday, December 17, 2016 11:02 AM
Subject: lSR=197



http://lsr.di.unimi.it/LSR/Snippet?id=197  using pure English alphabet it complies 

I try to compile the above LSR using English and UTF-8 as file name, I got the error below:
Starting lilypond-windows.exe 2.18.2 [filename_名字.ly]...
Processing `C:/Users/user/Google Drive/CHOIR_2016/filename_����.ly'
Parsing...
C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:12:2: error: GUILE signaled an error for the _expression_ beginning here
#
(define siz (object->string (stat:size (stat filen))))
C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:16:2: error: GUILE signaled an error for the _expression_ beginning here
#
(define modt (stat:mtime (stat filen)))
C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:17:2: error: GUILE signaled an error for the _expression_ beginning here
#
(define modts (strftime "%m/%d/%Y %H:%M:%S" (localtime modt)))
\line { "File Size = "
\siz }
\line { "Last Modified = "
\modts }
C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:33:4: error: GUILE signaled an error for the _expression_ beginning here
{ $
(string-append "File Size = "
C:/Users/user/Google Drive/CHOIR_2016/filename_名字.ly:41:4: error: GUILE signaled an error for the _expression_ beginning here
{ $
(string-append "Last Modified = "
\line { "File Size = "
\siz }
\line { "Last Modified = "
\modts }
Interpreting music...
Preprocessing graphical objects...
(lilypond-windows.exe:8624): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
(lilypond-windows.exe:8624): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
(lilypond-windows.exe:8624): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
(lilypond-windows.exe:8624): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
(lilypond-windows.exe:8624): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
(lilypond-windows.exe:8624): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
warning: no glyph for character U+EFFFFFFF in font `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `filename_����.ps'...
Converting to `./filename_����.pdf'...
No such file or directory: "rive/CHOIR_2016/filename_����.ly"
No such file or directory: "rive/CHOIR_2016/filename_����.ly"
Unbound variable: modt
No such file or directory: "rive/CHOIR_2016/filename_����.ly"
No such file or directory: "rive/CHOIR_2016/filename_����.ly"
fatal error: failed files: "C:/Users/user/Google Drive/CHOIR_2016/filename_����.ly"
Exited with return code 1.



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

[Prev in Thread] Current Thread [Next in Thread]