fixed encoding bug in Utils\DOMDocuemntEx