Re: [frogs] PATCH for getting output-suffix to work (Trackers 714 and 404) |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 12. August 2009 14:32:37 schrieb Ian Hulin:
> Reinhold Kainhofer wrote:
> >> + (if (string? output-suffix)
> >> + (set! result (format "~a-~a" base (string-regexp-substitute
> >> + "[^a-zA-Z0-9-]" "_"
> >> output-suffix))))
> >
> > This rules out any accented or other foreigh letters! E.g. all chinese
> > suffixes will simply turn into ______. Also, German instrument names like
> > "Fl�te" or "H�rner" would become "Fl_te" and "H_rner" in the suffix.
> >
> > I supose it would be better to use
> > "[^[:alnum:]-+]"
> > as the regexp to allow all alpha-numeric letters.
>
> Reinhold -
> There's a restriction with the gs back-end. Marek asked abourt this and
> Han-Wen confirmed that's why we're restricted to ujsing the ASCII set
> for filenames.
Hmm, that's strange, since using a file name like "äúôÿßø¼¤³.ly" works just
fine. What causes problems is multi-byte unicode characters (i.e. anything
outside the ANSI charset), which allows umlaute and other accented vowels....
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, reinhold@xxxxxxxxxxxxx, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKgs/mTqjEwhXvPN0RAly0AJ9AonsFrzYTcuyqnTlLlyeRTKHrqgCgoEZn
OlBMs15FKdSspzMh+iaCwGY=
=oRBG
-----END PGP SIGNATURE-----
---
----
Join the Frogs!