removed redundant back & forth encoding stuff -- just let minidom deal with unicode, it's his job
added unicode tests