From: tokul Date: Wed, 30 Mar 2005 11:12:15 +0000 (+0000) Subject: one more fix for #1043576. rewrapping is done in compose too. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=200c9b8e0aace109ed437b562ace503089686e61;p=squirrelmail.git one more fix for #1043576. rewrapping is done in compose too. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9164 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index 38e101f5..55b429a6 100644 --- a/src/compose.php +++ b/src/compose.php @@ -411,10 +411,10 @@ if ($send) { if( $line <> '-- ' ) { $line = rtrim($line); } - if (strlen($line) <= $editor_size + 1) { + if (sq_strlen($line,$default_charset) <= $editor_size + 1) { $newBody .= $line . "\n"; } else { - sqWordWrap($line, $editor_size); + sqWordWrap($line, $editor_size,$default_charset); $newBody .= $line . "\n"; }