bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1502 in lilypond: DOcument information in PDF headers requires esc


From: lilypond
Subject: Issue 1502 in lilypond: DOcument information in PDF headers requires escapes for accented characters
Date: Sun, 06 Feb 2011 17:03:03 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-High

New issue 1502 by address@hidden: DOcument information in PDF headers requires escapes for accented characters
http://code.google.com/p/lilypond/issues/detail?id=1502

 An example:

\version "2.13.48"
\header
{
   title = "Non Lo Farò Più"
   composer = "Johann Baptist Strauß"
}

When viewing the pdf the title shows as "Non Lo Farò Più". I've only
tested this with Evince and Okular. In searching about the problem
people suggest that the text encoding should be utf-16be and include
the BOM

Thanks for spotting that bug (Bug squad, can you please open a bug report for
this!).

It's actually simpler than using utf-16be. All that is needed is to use escape sequences instead of the accented characters. E.g. I would need to use "\362"
instead of "ò".

Unfortunately, I haven't found a scheme/guile method to create those escape
sequences from a utf8 string (I don't even know exactly which escape sequences
these are! At least they are none of the usual utf8 representations).


reply via email to

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