Bug 19181 - Unicode characters not working in lilypond
Summary: Unicode characters not working in lilypond
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-11 11:34 CEST by Daniel Osmari
Modified: 2017-01-22 00:43 CET (History)
2 users (show)

See Also:
Source RPM: lilypond-2.19.42-1.mga6.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.