[Koha-patches] [PATCH] bug 2246: encode label text in call to pdf print function.

Galen Charlton galen.charlton at liblime.com
Tue Sep 9 17:40:52 CEST 2008


Hi,

On Sun, Sep 7, 2008 at 1:39 AM, Ryan Higgins <rch at liblime.com> wrote:
> This resolves a 'wide character' error causing a broken pdf to be generated.
> It does not address the absence of Hindi or other fonts in pdf display applications,
> Tested with the supplied hindi utf8 string in the bug report, this prevents the failure
> on the server, and allows a valid pdf document to be created.

This didn't work when I tested it.  In particular, it is
double-encoding the UTF-8.  For example, if you try testing with a
French diacritic in the title (e.g., "étude"), the diacritic is
correct in the PDF before the patch is applied and mangled after.

Regards,

Galen
-- 
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-patches mailing list