]> git.koha-community.org Git - koha.git/commit
Bug 31282: Fix broken characters in patron_emailer.pl verbose mode
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 2 Aug 2022 12:24:57 +0000 (09:24 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 19 Aug 2022 12:56:13 +0000 (09:56 -0300)
commit9afbe872b7e63ce1d88cf6896df3b1046529212b
tree25425a38e4436270c0d0057f8756e2275cb21b9a
parent038a66f113ebb06277744f6770bf5fd4c1380622
Bug 31282: Fix broken characters in patron_emailer.pl verbose mode

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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/cronjobs/patron_emailer.pl