bug-lilypond
[Top][All Lists]
Advanced

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

Re: Ghostscript fails with special characters in filename


From: Patrick McCarty
Subject: Re: Ghostscript fails with special characters in filename
Date: Thu, 20 Aug 2009 03:05:18 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

On 2009-08-20, Reinhold Kainhofer wrote:
> Am Donnerstag, 20. August 2009 11:47:52 schrieb Reinhold Kainhofer:
> > Am Donnerstag, 20. August 2009 11:37:55 schrieb Patrick McCarty:
> > > On 2009-08-20, Reinhold Kainhofer wrote:
> > > > To me this seems like guile is not able to properly handle wide UTF-8
> > > > characters properly and messes up the wide characters.
> > >
> > > I've been following the Guile mailing lists recently, and it sounds
> > > like UTF-8 handling will be improved in the next stable release.
> > >
> > > In the meantime, does this patch work?
> >
> > Yes, using ly:format instead of simple-format works here.
> 
> Of course, the same change needs to be done to the ps->png
> conversion. Patch attached.

Hmm...

I just realized why the ~S was being used instead of ~a: the ~S allows
double quotes in the filename, but ~a does not.

So this would fail with your patch:

  $ lilypond \"file\".ly

Even though it is an unlikely filename, ly:format cannot accept it
using ~a.

Now, I'm having trouble finding an equivalent to ~S to use with
ly:format; such an option does not seem to exist.  I think we're
stuck, unless someone can implement an ~S format specifier for
ly:format.


-Patrick




reply via email to

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