====================================
- Find a decent way of handling tags within Horde 4
+
+ - Remove dependency on the Horde_Nls and Horde_String language
+ settings. I currently assume we should only return UTF-8 from this
+ library.
protected function setUp()
{
Horde_Nls::setCharset('utf-8');
+ Horde_String::setDefaultCharset('iso-8859-1');
}
$event = file_get_contents(dirname(__FILE__)
. '/fixtures/event_umlaut.xml');
$result = $xml->load($event);
+
// Check that the xml loads fine
$this->assertEquals(mb_convert_encoding($result['body'], 'UTF-8',
'ISO-8859-1'), '...übbe...');