From b5ece9688689e4014f0b59a1dcf4aaa6aba5d078 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Mon, 30 May 2005 18:08:49 +0000 Subject: - Fixing charset in mime_header_encode() --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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; -- cgit v1.2.3