This patch changes Deb822Dict to give back only unicode values. That class (and the Deb822 subclass) now takes an encoding argument, which defaults to "utf-8", and specifies how incoming strings are to be interpreted. Likewise, the dump method takes an optional encoding argument to specify how to encode the unicode objects back to byte strings before writing out to a file (and it defaults to the encoding the object was initialized with).