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

New issue 1502 by colinpkc...@gmail.com: 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).

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to