Bug 5303 Overdue notices subject is improperly encoded

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Frédéric Demians 2010-10-13 21:43:55 +02:00 committed by Galen Charlton
parent 1896508f93
commit 4a7bb77e4f
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ sub _send_message_by_email ($;$$$) {
my %sendmail_params = (
To => $to_address,
From => $message->{'from_address'} || C4::Context->preference('KohaAdminEmailAddress'),
Subject => $message->{'subject'},
Subject => encode('utf8', $message->{'subject'}),
charset => 'utf8',
Message => $content,
'content-type' => $message->{'content_type'} || 'text/plain; charset="UTF-8"',