summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-05-30 18:08:49 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-05-30 18:08:49 +0000
commitb5ece9688689e4014f0b59a1dcf4aaa6aba5d078 (patch)
treeb6b744f48bd2baea848390c090787662677c1fd8
parentba41568963b1358bb830d7804355855c8d8213ce (diff)
downloadbrdo-b5ece9688689e4014f0b59a1dcf4aaa6aba5d078.tar.gz
brdo-b5ece9688689e4014f0b59a1dcf4aaa6aba5d078.tar.bz2
- Fixing charset in mime_header_encode()
-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;