Vergleich inc/class_mailhandler.php - 1.8.29 - 1.8.36

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 420Zeile 420
			{
$newpos = min($pos + $chunk_size, $len);


			{
$newpos = min($pos + $chunk_size, $len);


				while(ord($string[$newpos]) >= 0x80 && ord($string[$newpos]) < 0xC0)

				if($newpos != $len)

				{

				{

					// Reduce len until it's safe to split UTF-8.
$newpos--;




					while(ord($string[$newpos]) >= 0x80 && ord($string[$newpos]) < 0xC0)
{
// Reduce len until it's safe to split UTF-8.
$newpos--;
}

				}

$chunk = substr($string, $pos, $newpos - $pos);

				}

$chunk = substr($string, $pos, $newpos - $pos);