Bug 11121 - Patron Card Creator batch export cannot handle special characters (usually)
Summary: Patron Card Creator batch export cannot handle special characters (usually)
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: 3.12
Hardware: PC Linux
: P5 - low trivial (vote)
Assignee: Chris Nighswonger
QA Contact: Testopia
Depends on:
Reported: 2013-10-23 09:43 UTC by vincent_muyo
Modified: 2017-06-14 22:08 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
Description vincent_muyo 2013-10-23 09:43:09 UTC
Exporting a batch with special characters ( e g é, å, ä, ö) for patron posts <firstname> and <surname> will cause them to be corrupted in the exported pdf - é becomes é, å becomes Ä¥ and ö becomes ö, for example. However, this doesn't always happen - _usually_ the first page comes out correctly (but not with things already incorrect). 

Everything (apache2, MySQL, linux locale) is set to UTF-8, and label creator works flawlessly with these symbols. Going off an installation of the 3.12 liveDVD 3.12 (http://sourceforge.net/projects/kohalivedvd/) in Xubuntu. 

Guessing the exporter uses a different standard, e g ANSI, which corrupts the text - but this is pure guesswork. :)

Extra information about the setup:

Template is for an A4 page, SI Centimeters, 29.7x21. Cards 7.7x4.8, Margins 2x2. 2 columns, 4 rows, gaps 0.5cm each.

Layout is layouted for front with guidebox on. It uses postscript points.
 Text fields Field 1 houses: the bug-related information <firstname> <surname>, font Helvetica size 12, alignment center, X: 20 Y: 100. 
 Barcode number is printed, Code 39 (generated automatically in provided Katipo style), X:20, Y: 40


OS version ('uname -a'): 	Linux ubuntu 3.2.0-55-generic #85-Ubuntu SMP Wed Oct 2 13:43:27 UTC 2013 i686 athlon i386 GNU/Linux
Perl interpreter: 	/usr/bin/perl
Perl version: 	5.014002
Perl @INC: 	/usr/share/koha/lib
MySQL version: 	mysql Ver 14.14 Distrib 5.5.32, for debian-linux-gnu (i686) using readline 6.2
Apache version: 	Server version: Apache/2.2.22 (Ubuntu)
Zebra version: 	Zebra 2.0.44 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 419ad759807269fdfa379799a051ed3a551c6541 Using ICU 

Running this in a virtual machine, VirtualBox.
Comment 1 Chris Nighswonger 2015-09-10 13:17:00 UTC
Possibly related to Bug 2246
Comment 2 Chris Nighswonger 2015-09-10 13:17:40 UTC
And Bug 8375
Comment 3 Chris Nighswonger 2015-09-10 13:19:25 UTC
Someone might want to check the current validity of this bug as the fixes for Bug 8375 most likely corrected this problem as well.
Comment 4 Owen Leonard 2016-08-12 12:25:29 UTC
This appears to be fixed in master.