Bug 5347: Followup Adds columns claims_count and claimed_date in aqorders
FIX encoding problem Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Umlauts and diacritics now show up correctly in generated claims notices. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
b8e9829be5
commit
ec5d679468
1 changed files with 2 additions and 4 deletions
|
@ -22,8 +22,6 @@ use warnings;
|
|||
|
||||
use MIME::Lite;
|
||||
use Mail::Sendmail;
|
||||
use Encode;
|
||||
use Carp;
|
||||
|
||||
use C4::Members;
|
||||
use C4::Branch;
|
||||
|
@ -390,8 +388,8 @@ sub SendAlerts {
|
|||
my %mail = (
|
||||
To => $to,
|
||||
From => $userenv->{emailaddress},
|
||||
Subject => "" . $innerletter->{title},
|
||||
Message => "" . $innerletter->{content},
|
||||
Subject => Encode::encode( "utf8", "" . $innerletter->{title} ),
|
||||
Message => Encode::encode( "utf8", "" . $innerletter->{content} ),
|
||||
'Content-Type' => 'text/plain; charset="utf8"',
|
||||
);
|
||||
sendmail(%mail) or carp $Mail::Sendmail::error;
|
||||
|
|
Loading…
Reference in a new issue