LP#1801163: (follow-up) deal with header fields that contain Unicode strings
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 22:55:10 +0000 (17:55 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 19 Aug 2020 15:07:36 +0000 (11:07 -0400)
commitccfd91d8180b8d2bf708535add83ef3b5799346a
treefe82ef823a84c94cd77583fb1722982d4e6a053b
parent288ade123abc97ae52680affa8de5bcbe8229a6a
LP#1801163: (follow-up) deal with header fields that contain Unicode strings

Since Email::MIME->header_str_set() expects Unicode strings, not octets,
use decode_utf8() on the header values to

To test
-------
[1] Update the biblio.format.record_entry.print A/T event definition
    to include non-ASCII characters in the subject and from headers.
[2] Upon applying the patch series, verifying that the strings provided
    in step 1 are not mangled when the email is sent.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <JBoyer@eoli.info>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/SendEmail.pm