filters invalid utf8 characters in VEVENT blobs
[tine20] / tests / tine20 / Calendar / Convert / Event / VCalendar / GenericTest.php
index 070a6e9..77e80bb 100644 (file)
@@ -698,6 +698,15 @@ class Calendar_Convert_Event_VCalendar_GenericTest extends PHPUnit_Framework_Tes
     }
     
     /**
+     * testInvalidUtf8
+     */
+    public function testInvalidUtf8()
+    {
+        $savedEvent = $this->_saveIcsEvent('invalid_utf8.ics');
+        $this->assertContains('Hoppegarten Day', $savedEvent->summary);
+    }
+    
+    /**
      * testLongLocation
      */
     public function testLongLocation()