Bug 10605: fix encoding issue on basket email (INTRANET)
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>
(cherry picked from commit 62fcbea10a)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
This commit is contained in:
parent
adb91828bd
commit
6d16356a1a
|
|
@ -131,8 +131,9 @@ if ( $email_add ) {
|
|||
}
|
||||
|
||||
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() . "====";
|
||||
|
|
|
|||
Loading…
Reference in New Issue