Browse Source

Fixed bug: Only characters having odd numbers where encoded in
encodeHeader. Introduced in CVS revision 1.76 of the file, which
refers to patch #10265, but I was unable to find this patch.

gustavf 24 years ago
parent
commit
6ecbbc1ad7
1 changed files with 0 additions and 2 deletions
  1. 0 2
      functions/mime.php

+ 0 - 2
functions/mime.php

@@ -725,7 +725,6 @@
 
       // Encode only if the string contains 8-bit characters or =?
       if (ereg("([\200-\377]|=\\?)", $string)) {
-         $newstring = "=?$default_charset?Q?";
          
          // First the special characters
          $string = str_replace("=", "=3D", $string);
@@ -737,7 +736,6 @@
 	    $replace = chr($ch);
 	    $insert = sprintf("=%02X", $ch);
             $string = str_replace($replace, $insert, $string);
-	    $ch++;
          }
 
          $newstring = "=?$default_charset?Q?".$string."?=";