gothfox/Tiny-Tiny-RSS — pull request #291 by Alkarex (2013-08-20 20:45:50+00:00)
Title: Update functions.php to replace UTF-8 hacks by simpler standard approaches

- Replaced charset_hack by standard Unicode UTF-8 BOM;
- Removed removeChild() hack for doctype, and output $doc->documentElement instead;
- Replaced (buggy) saveHTML() by saveXML(), to remove the current overhead of HTML-encoding all non-ASCII characters;
- Removed a redundant trim();

Tested on PHP 5.3.10-1ubuntu3.7.