summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 6fd724c6d..649f57889 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;