Same fix for the staff interface.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Both patches tested with English and German, diacritics
now appear correctly if UTF-8 is selected as encoding.
Passes all tests and QA script.
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
}
if ( $template_res =~ /<MESSAGE>(.*)<END_MESSAGE>/s ) {
- $body = encode_qp($1);
+ $body = $1;
$body =~ s|\n?(.*)\n?|$1|;
+ $body = encode("UTF-8", encode_qp($body));
}
my $boundary = "====" . time() . "====";