Main Koha release repository https://koha-community.org
Find a file
Chris Nighswonger 939d0ab639 Bug 2246 - (Partial) Label printing doesn't work with Unicode characters
This patch provides a very partial fix for this bug in that it reduces
the number of pdf generation failures due to a "wide character" error.
It does not ensure that all unicode characters will print correctly as
this is dependent upon many other issues mentioned in this bug and
various posts to the developer list.

What this code does is test to see if the pdf stream is utf8 encoded
and if it is, explicitly declares it to be so. Unicode chars will still
print incorrectly, but the pdf will be created and should open properly
in whatever pdf reader.

You may test this by adding any character with a diacritical to the
title of a bib and then attempting to generate a label pdf with the
title of that bib. Before the patch is applied the resulting pdf
should contain an error mentioning a wide character issue. After the
patch is applied, the pdf should be valid.

No documentation changes are necessary as a result of this patch.

This patch should be backported to 3.2.x.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-06-04 20:03:10 +12:00
acqui Bug 5445: Nicer breadcrumbs when ordering from different sources 2011-04-27 16:10:46 +12:00
admin BUG6436 Don't allow deletion of an itemtype used in items.itype 2011-06-03 14:24:54 +12:00
authorities Bug 5791 - Robust handling of deleted/non-existent biblios and authority records 2011-04-20 12:03:59 +12:00
basket bug 5579 : Fixes several exports to embed items 2011-04-19 22:35:15 +12:00
C4 Bug 2246 - (Partial) Label printing doesn't work with Unicode characters 2011-06-04 20:03:10 +12:00
catalogue BUG6091 Remove undeclared syspref OPACAdvSearchInputCount 2011-05-28 19:03:33 +12:00
cataloguing Bug 6237: Remove redeclarations of global vars in same scope 2011-04-22 07:30:54 +12:00
circ Fix for Bug 2941 Transfers cannot be canceled once initiated 2011-04-23 17:22:05 +12:00
debian Bug 6361 - make the packages work with koha 3.4 2011-06-03 11:06:31 +12:00
docs Bug 6350 Adding Fridolyn Somers to the history 2011-06-03 14:31:54 +12:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Add entries so Z39.50 public server works 2011-05-28 18:57:34 +12:00
install_misc Updating package lists 2011-04-19 17:01:27 +12:00
installer Bug 6143 : Fixing missing sysprefs 2011-04-26 22:28:09 +12:00
koha-tmpl Fix for Bug 6337 - Variable scope errors in staff client cart print view 2011-06-04 19:55:31 +12:00
labels Bug 6343: TT issues in label creator 2011-05-26 09:16:41 +12:00
members Bug 5918 : Use the default messaging preferences if the user does not select any 2011-06-02 09:14:38 +12:00
misc Bug 5929: use branch admin email for advance_notice.pl emails 2011-06-04 19:41:26 +12:00
offline_circ Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x 2011-03-12 08:53:41 +13:00
opac Bug 6362: fixes display to re-embed items in OPAC MARC view 2011-06-03 14:18:51 +12:00
patroncards Bug 6415: Can't make patron card batch 2011-05-29 16:00:57 +12:00
reports Bug 6258 - Guided reports wizard 'Build new' brings up empty page 2011-05-26 11:27:56 +12:00
reserve Bug 6259: AllowHoldPolicyOverride causes every hold to need override 2011-04-27 16:21:43 +12:00
reviews Modifying Members : Add Mod and GetMember 2009-09-30 11:29:23 +02:00
rotating_collections Bug 2505 - Add commented use warnings where missing in the rotating_collections/ directory 2010-04-21 20:25:39 +12:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug 6240 : pass a hash to template not a scalar 2011-04-22 07:42:03 +12:00
skel installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion Corrects an error when showing a suggestion linked to a deleted budget. 2011-04-05 10:04:08 +12:00
svc bug 4896: granular permissions now always on (DB rev 138) 2010-06-19 07:56:03 -04:00
t Merge remote-tracking branch 'kc/master' into new/bug_5683 2011-06-02 09:02:50 +12:00
tags Fix for Bug 2377 - Review tags: format date according to system preference 2010-10-06 09:31:56 -04:00
test Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x 2011-03-12 08:53:41 +13:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools Fix for Bug 6306 - It is not possible edit news 2011-05-29 16:05:34 +12:00
virtualshelves bug 5579 : Fixes several exports to embed items 2011-04-19 22:35:15 +12:00
xt Rewriting the valid templates test to test template toolkit 2011-04-29 11:33:19 +12:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
about.pl Enhancement Bug 4444: Centralize Code Handling Perl Dependencies 2010-05-17 09:01:51 -04:00
changelanguage.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
edithelp.pl Fix FSF address in directory . 2010-03-16 20:17:52 -04:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Bug 6342 Help link doesn't popup anymore contextual help page 2011-05-28 18:54:38 +12:00
INSTALL Updating upgrade instructions 2011-04-21 12:53:00 +12:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
INSTALL.debian Updating upgrade instructions 2011-04-21 12:53:00 +12:00
INSTALL.fedora7 fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
INSTALL.opensuse update INSTALL* to acknowledge the use of mod_deflate 2011-03-12 12:37:26 +13:00
INSTALL.ubuntu Updating upgrade instructions 2011-04-21 12:53:00 +12:00
INSTALL.ubuntu.lucid Updating upgrade instructions 2011-04-21 12:53:00 +12:00
koha_perl_deps.pl Bug 4844 Remove a circular dependency in koha_perl_deps.pl 2010-06-03 19:59:10 -04:00
kohaversion.pl Bumping the database number 2011-04-26 20:51:37 +12:00
LICENSE Update LICENSE with a fresh copy from upstream. This updates the FSF address, and refers to the LGPL with its current name, and changes a few other minor things of the typographical sort. No semantic changes. 2010-03-16 20:17:48 -04:00
mainpage.pl remove last vestiges of NOTMARC mode 2010-10-21 21:06:52 -04:00
Makefile.PL Bug 3644 Add support for NORMARC 2011-03-30 10:13:37 +02:00
MANIFEST.SKIP Bug Fixing : 3334 2009-06-19 06:33:34 -05:00
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots Add instructions to INSTALL and README.robots about robots.txt 2010-02-20 17:55:59 -05:00
rewrite-config.PL Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/