In 3.2 there is a new option to print the current fine in overdue notices. Documentation: http://git.koha-community.org/gitweb/?p=koha.git;a=commit;h=599887a1855349de6bafe9c1b6ce155ed9be5fb5 While USD works fine, there is a problem with other currencies. I tested with EUR and GBP: <item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <fine>USD</fine></item> = ... Fine: $4.50 <item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <fine>GBP</fine></item> = ... Fine: £3.00 <item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <fine>EUR</fine></item> = â¬1,50 I see the same output in sent mails (Outlook) and in my database (Koha reports module and MySQL Query Browser) I have installed Locale::Currency::Format 1.28. Koha Version is 3.01.00.139. The overdue_notices.pl cronjob prints following error: Use of uninitialized value $fine in string at /home/koha/kohaclone/misc/cronjobs/overdue_notices.pl line 666.
Created attachment 2264 [details] screenshot of currency symbols in notices before code change
Created attachment 2265 [details] screenshot of currency symbols in notices after code change
Created attachment 2266 [details] [review] proposed patch
What perl version and locale did the problem manifest itself on? (I'm not seeing the original bug on perl 5.10.1 and en_GB.UTF-8)
Hi Colin, I have seen this problem on 2 different installations, an updated standard installation (3.01.61 to HEAD) and my dev install (HEAD) 9.10 Karmic Koala Perl version is 5.010000 Locale de_DE.UTF-8 Does my patch cause any problems?
What version of Encode do you have? To check: perl -MEncode -e 'print $Encode::VERSION, "\n";'
perl -MEncode -e 'print $Encode::VERSION, "\n";' - Result: 2.23 I updated the module to 2.39 via cpan and I still see the same problems with currency symbols.
Resend patch with small change, removing 2 additional lines as requested by Chris Cormack.
Created attachment 2621 [details] [review] new patch with additional changes
Patch was pushed to 3.2. Euro symbol is now shown correctly.