diff --git a/includes/common.inc b/includes/common.inc index 6fd724c6d01b535ad955754622bb080c514ebbf0..649f57889d70e457eacb0e415d00ac90dcfc7451 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1832,7 +1832,7 @@ function mime_header_encode($string) { $output = ''; while ($len > 0) { $chunk = truncate_utf8($string, $chunk_size); - $output .= ' =?'. $charset .'?B?'. base64_encode($chunk) ."?=\n"; + $output .= ' =?UTF-8?B?'. base64_encode($chunk) ."?=\n"; $c = strlen($chunk); $string = substr($string, $c); $len -= $c;