[Top][All Lists]
[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: |
Thu, 14 Apr 2011 21:02:00 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.6.2; i686; ; ) |
Am Sonntag 06 Februar 2011, 18:40:32 schrieb Reinhold Kainhofer:
> > > 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).
> >
> > 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).
I've now properly implemented Latin1 and Unicode PDF metadata encoding. Patch
is up for review at:
http://codereview.appspot.com/4398046/
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* Edition Kainhofer Music Publishing, http://www.edition-kainhofer.com/
* LilyPond music typesetting software, http://www.lilypond.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Unicode PDF titles garbled,
Reinhold Kainhofer <=