From 4a7bb77e4fcd7ad78ef7ba6f984ef69fccd8a163 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Wed, 13 Oct 2010 21:43:55 +0200 Subject: [PATCH] Bug 5303 Overdue notices subject is improperly encoded Signed-off-by: Galen Charlton --- C4/Letters.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 62b339aefb..5414adb2ad 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -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"', -- 2.39.5