Bugzilla – Attachment 14011 Details for
Bug 9033
Wide character error in runreport.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9033 - Wide character error in runreport.pl
Bug-9033---Wide-character-error-in-runreportpl.patch (text/plain), 1.05 KB, created by
Paul Poulain
on 2012-12-11 19:46:14 UTC
(
hide
)
Description:
Bug 9033 - Wide character error in runreport.pl
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-12-11 19:46:14 UTC
Size:
1.05 KB
patch
obsolete
>From aa0a0e022426cfd4032714f4e390ae4ab5d8bb60 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 8 Nov 2012 10:39:32 -0500 >Subject: [PATCH] Bug 9033 - Wide character error in runreport.pl > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > misc/cronjobs/runreport.pl | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/misc/cronjobs/runreport.pl b/misc/cronjobs/runreport.pl >index 690f216..8bb4266 100755 >--- a/misc/cronjobs/runreport.pl >+++ b/misc/cronjobs/runreport.pl >@@ -29,6 +29,7 @@ use Mail::Sendmail; > use Text::CSV_XS; > use CGI; > use Carp; >+use Encode; > > use vars qw($VERSION); > >@@ -245,8 +246,8 @@ foreach my $report_id (@ARGV) { > my %mail = ( > To => $to, > From => $from, >- Subject => $subject, >- Message => $message >+ Subject => encode('utf8', $subject ), >+ Message => encode('utf8', $message ) > ); > sendmail(%mail) or carp 'mail not sent:' . $Mail::Sendmail::error; > } else { >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9033
:
13309
|
13638
|
13639
|
13855
| 14011 |
14012