From b48e399253b153d7b0a7ee81bf8d1b018fe9c4ff Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 1 Nov 2012 17:23:40 +0000 Subject: [PATCH] fix for bug #3164: Lines containing accents are truncated in vCard exports --- phpgwapi/inc/horde/Horde/iCalendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index 120f251a20..caa1c05add 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -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]);