quandyfactory/dicttoxml — pull request #20 by lichenbo (2014-06-07 06:34:02+00:00)
Title: force convert to utf-8

When I come to handle a xml with Chinese characters in it, I came to this lib. But soon the xml.etree.ElementTree prompt me that there's an error while parsing. Soon I discovered that the Chinese character is encoding with Unicode while the header of xml tells 'UTF-8'. So I changed the last line of dicttoxml.py with `.encode('utf-8')` added and which avoids the interpreting problem of Chinese character.