lilypond-user
[Top][All Lists]
Advanced

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

Re: "+" & utf-8 characters on file name


From: Fredrik Wallberg
Subject: Re: "+" & utf-8 characters on file name
Date: Tue, 18 Mar 2014 21:05:33 +0100

Hi Ming,

someone with more knowledge about Unicode (and Windows) could perhaps
explain why that happens, but since you also asked for a workaround:

Instead of using \bookOutSuffix, you could try with \bookOutputName, like this:

\book {
  \bookOutputName "+中国曲子+"

Which works fine over here (version 2.18, Mac OSX 10.8.4).

/ Fredrik

On 18 March 2014 18:16, MING TSANG <address@hidden> wrote:
>
>
>
> On Tuesday, March 18, 2014 12:58:13 PM, MING TSANG <address@hidden>
> wrote:
> The attached .ly file generate two pdf files.
> 1. test_utf-8_filename.pdf
> 2. test_uft-8_filename-SA_TB.pdf
>
> I was anticipating that the 2nd pdf file name to be
> "test_utf-8_filename-SA+TB.pdf"  Instead it generates
> "test_utf-8_filename-SA_TB.pdf".
>
> Is it that lilypond cannot generate utf-8 character in the file name?
> Any work around?
> Emmanuel,
> Ming
>
> Additional info:
> I change the bookOutSuffix to utf-8 character "男女" and I got the following
> error:
> Starting lilypond-windows.exe 2.19.3 [test_utf-8_filename.ly]...
> Processing `C:/Users/Tsang/Dropbox/sample_lily-code/test_utf-8_filename.ly'
> Parsing...
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing
> systems...C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm/framework-ps.scm:450:22:
> In procedure open-file in expression (open-file filename "wb"):
> C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm/framework-ps.scm:450:22:
> Invalid argument: "test_utf-8_filename-�__�_�.ps"
> 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]