Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.434.2.18 diff -u -p -r1.434.2.18 common.inc --- includes/common.inc 9 Feb 2006 08:57:47 -0000 1.434.2.18 +++ includes/common.inc 13 Mar 2006 09:08:50 -0000 @@ -1694,7 +1694,7 @@ function truncate_utf8($string, $len, $w * have to be changed to \r\n or \r. */ function mime_header_encode($string) { - if (!preg_match('/^[\x20-\x7E]*$/', $string)) { + if (preg_match('/[^\x20-\x7E]/', $string)) { $chunk_size = 47; // floor((75 - strlen("=?UTF-8?B??=")) * 0.75); $len = strlen($string); $output = '';