fix for bug #3164: Lines containing accents are truncated in vCard exports

This commit is contained in:
Ralf Becker 2012-11-01 17:24:22 +00:00
parent 05ed8e3712
commit e23ef8d237

View File

@ -1654,7 +1654,7 @@ class Horde_iCalendar {
function _quotedPrintableEncode($input = '', $withFolding=true)
{
$output = $line = '';
$len = strlen($input);
$len = bytes($input);
for ($i = 0; $i < $len; ++$i) {
$ord = ord($input[$i]);