Bugzilla – Attachment 13309 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.03 KB, created by
Kyle M Hall (khall)
on 2012-11-08 15:39:41 UTC
(
hide
)
Description:
Bug 9033 - Wide character error in runreport.pl
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-11-08 15:39:41 UTC
Size:
1.03 KB
patch
obsolete
>From 83d79a59c789f1273c9edd938caace2a83fbb8b4 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 >Content-Type: text/plain; charset="utf-8" > >--- > 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