LP#1801163: (follow-up) deal with header fields that contain Unicode strings user/gmcharlt/lp1801163_email_mime_signoff
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 22:55:10 +0000 (17:55 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 22:55:10 +0000 (17:55 -0500)
commitc7302a00f3c185c06d3c7ecfad9038030af367be
tree4a92fa22fbdd71b7c7e29ff81f6296301d6831b1
parent1b0618ea858bb1d296f9ba9a70cf42a520c0f643
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/SendEmail.pm