From 12c4c0ca5e624628dabca2bdec4a004a9f748b18 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Thu, 26 Jan 2012 22:51:10 +0100 Subject: [PATCH] Encode subject properly so that foreign characters are transmitted properly --- utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.php b/utils.php index 6728aae..d6905e9 100644 --- a/utils.php +++ b/utils.php @@ -185,7 +185,7 @@ function ordersatz_write($id, $dir, $send) $satz[0]['koch']); mail_attach($satz[0]['email'], - 'Ordersatz ' . $satz[0]['name'], + mb_encode_mimeheader(utf8_decode('Ordersatz ' . $satz[0]['name']),'latin1'), $satz[0]['email'], 'Infodrom ' . $satz[0]['koch'], array($dir . '/ordersatz.pdf'), -- 2.20.1