runreport.pl is not encoding email correctly. Wide character in subroutine entry at /usr/share/perl5/Mail/Sendmail.pm line 308.
Created attachment 13309 [details] [review] Bug 9033 - Wide character error in runreport.pl
This needs a test plan.
Test Plan: 1) Verify you have a least one record with non-ascii unicode characters ( i.e. a record that would cause the wide character error ). 2) Create a report that would contain these characters as part of its result. 3) Run this report via runreport.pl with the email option 4) This should cause the wide character error 5) Apply this patch 6) Re-run step 3. 7) This time, you should not get any wide character error.
Created attachment 13638 [details] [review] [SIGNED-OFF] Bug 9033 - Wide character error in runreport.pl Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Created attachment 13639 [details] [review] [Follow-up] Bug 9033: Wide character error in runreport.pl This patch fix a typo that prevented report to be run
I followed the test plan, got the wide character error on master and got no errors with the patch. On master the mail is not sent. With the patch the mail is sent and with correct encoding. I just added a tiny follow-up because runreport.pl wasn't working without it.
Created attachment 13855 [details] [review] [SIGNED-OFF] Bug 9033: Wide character error in runreport.pl This patch fix a typo that prevented report to be run Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
QA comment: small patch, passes koha-qa.pl, nothing to add passed QA
Created attachment 14011 [details] [review] Bug 9033 - Wide character error in runreport.pl Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Created attachment 14012 [details] [review] Bug 9033: Wide character error in runreport.pl This patch fix a typo that prevented report to be run Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This patch has been pushed to master. Note that wide characters will still not display in the e-mail. All these patches do is ensure that the e-mail is sent.
Pushed to 3.10.x, will be in 3.10.1
*** Bug 10031 has been marked as a duplicate of this bug. ***