Bug 19181

Summary: Unicode characters not working in lilypond
Product: Mageia Reporter: Daniel Osmari <danielosmari>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: NEW --- QA Contact:
Severity: major    
Priority: Normal CC: geiger.david68210, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: lilypond-2.19.42-1.mga6.src.rpm CVE:
Status comment:

Description Daniel Osmari 2016-08-11 11:34:07 CEST
Description of problem:

Lilypond is not rendering non-ascii characters anymore, even though it has full unicode support.

Besides authors having names with non-ascii characters, it's common to have French, German or Italian words in classical musical scores, which do require proper unicode support.


Version-Release number of selected component (if applicable):

lilypond-2.19.42-1


How reproducible:

Any .ly input file with unicode characters will produce output with those characters replaced by "?".


Steps to Reproduce:

1. Create a `test.ly' file with the contents:


\version "2.19.42"
{
  c''
  ^ \markup{ "this is a test: ñ" }
  _ \markup{ "and this is another: " \char ##x00F1 }
}



2. Run `lilypond test.ly'
3. Open the `test.pdf' file that was created. Instead of having two "ñ" characters, they'll be replaced by two "?".
Marja Van Waes 2016-08-11 19:16:47 CEST

CC: (none) => marja11
Assignee: bugsquad => rverschelde

Comment 1 Daniel Osmari 2016-12-17 00:10:32 CET
After a bit of investigation, it appears that Lilypond isn't compatible with guile 2.0. It claims "experimental" support, but it's clearly very incomplete.

The main issue seems to be assumptions about the internal representation of strings, which changed between guile 1.8 and 2.0. There are comments in Lilypond's code about how it could be changed for the newest version; I tried doing the changes, but it still doesn't work.

I suggest Lilypond to be built with guile 1.8 instead of leaving it broken.
Comment 2 David GEIGER 2017-01-22 00:43:30 CET
Should be fixed in next lilypond update reverting back guile 1.8:

- lilypond-2.19.44-2.mga6

CC: (none) => geiger.david68210