Bugzilla – Attachment 139486 Details for
Bug 31282
Broken characters in patron_emailer.pl verbose mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31282: Fix broken characters in patron_emailer.pl verbose mode
Bug-31282-Fix-broken-characters-in-patronemailerpl.patch (text/plain), 1.38 KB, created by
Kyle M Hall (khall)
on 2022-08-19 12:14:08 UTC
(
hide
)
Description:
Bug 31282: Fix broken characters in patron_emailer.pl verbose mode
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-08-19 12:14:08 UTC
Size:
1.38 KB
patch
obsolete
>From 7d378ac3fb0c2cffaa5c09ba6cd57eb83787c637 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 2 Aug 2022 09:24:57 -0300 >Subject: [PATCH] Bug 31282: Fix broken characters in patron_emailer.pl verbose > mode >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1. Have a report containing: > SELECT tomascohen@theke.io; >2. Have a members notice containing ¡ and other non-ASCII characters. >3. Run (changing the report number and notice code accordingly): > $ kshell > k$ perl misc/cronjobs/patron_emailer.pl --report 4 \ > --notice BIRTHDAY --from tomascohen@theke.io --module members >=> FAIL: non-ASCII characters are broken >4. Apply this patch >5. Repeat 3 >=> SUCCESS: Things print correctly! >6. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > misc/cronjobs/patron_emailer.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/misc/cronjobs/patron_emailer.pl b/misc/cronjobs/patron_emailer.pl >index a33600d528..443d846473 100755 >--- a/misc/cronjobs/patron_emailer.pl >+++ b/misc/cronjobs/patron_emailer.pl >@@ -96,6 +96,8 @@ Send emails, if omitted script will report as verbose. > > =cut > >+binmode( STDOUT, ":encoding(UTF-8)" ); >+ > my $help = 0; > my $report_id; > my $notice; >-- >2.30.2
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 31282
:
138502
|
138504
|
139439
| 139486