bug-lilypond
[Top][All Lists]
Advanced

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

Re: Unicode PDF titles garbled


From: Reinhold Kainhofer
Subject: Re: Unicode PDF titles garbled
Date: Sun, 06 Feb 2011 18:40:32 +0100

----- Ursprüngliche Mitteilung -----
> > 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 "ò".
> 
> That's another encoding, PDFDocEncoding (documented in the PDF
> reference).

Thanks, I had alreay found that.

> > 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).
> 
> I suggest to consequently use UTF-16BE (including surrogate support)
> which can be easily converted from and to UTF-8.

How can I do this in guile? A Google search didn't return any useful results 
(except a proposal from years ago).
In particular, I must only output the strings of the DOCINFO section as 
UTF-16BE... So, it can't be a port-specific setting, but only effective for one 
print command.

Thanks,
Reinhold




reply via email to

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