Bugzilla – Attachment 13638 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]
[SIGNED-OFF] Bug 9033 - Wide character error in runreport.pl
Bug-9033---Wide-character-error-in-runreportpl.patch (text/plain), 1.05 KB, created by
Julian Maurice
on 2012-11-22 16:22:34 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9033 - Wide character error in runreport.pl
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-11-22 16:22:34 UTC
Size:
1.05 KB
patch
obsolete
>From 9b26ffdeb72973cc11d70619f755db4b326e60eb 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 files 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.2.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