use mb_substr to avoid breaking utf-8 chars
authorPhilipp Schüle <p.schuele@metaways.de>
Mon, 11 Aug 2014 10:39:32 +0000 (12:39 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Thu, 4 Sep 2014 09:26:39 +0000 (11:26 +0200)
commit25c77f4e42374686aa4c9d38ad658efc6c7aee86
treeafa1e89b5f9b80597487a0d0334e645f5e8b92a5
parent21c1a55e6d84e088eadf3ea2278ea433ac2369a9
use mb_substr to avoid breaking utf-8 chars

... when truncating summary/location fields

Change-Id: I777ce83e0c9f52829d004e92459c36c4fec6e6c6
Reviewed-on: http://gerrit.tine20.com/customers/957
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
tests/tine20/Calendar/Convert/Event/VCalendar/GenericTest.php
tests/tine20/Calendar/Import/files/utf8mb4_summary.ics [new file with mode: 0644]
tine20/Calendar/Convert/Event/VCalendar/Abstract.php