summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/icalparser.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/inc/icalparser.inc.php')
-rw-r--r--modules-available/locationinfo/inc/icalparser.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/locationinfo/inc/icalparser.inc.php b/modules-available/locationinfo/inc/icalparser.inc.php
index eacb67b1..54869c2e 100644
--- a/modules-available/locationinfo/inc/icalparser.inc.php
+++ b/modules-available/locationinfo/inc/icalparser.inc.php
@@ -1934,6 +1934,7 @@ class ICalParser
*/
protected function removeUnprintableChars(string $data): string
{
+ $data = iconv('utf8', 'utf8//IGNORE', $data);
return preg_replace('/[\x00-\x1F\x7F\xA0]/u', '', $data);
}