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 commit62fcbea10a) Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com> (cherry picked from commit6d16356a1a) Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
b9388c4f60
commit
01a39d6ce0
|
|
@ -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