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

This commit is contained in:
Ralf Becker 2012-11-01 17:23:40 +00:00
parent a6de0724bb
commit b48e399253

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]);