diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-04-16 17:28:59 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-04-16 17:28:59 +0100 |
commit | fc908156bb888effc3e973f09ede606b7ab1476c (patch) | |
tree | f66bf4c04496c1a1e2a2b5ac31540c74afdbf292 /man | |
parent | f6bcd6abd9d3dc30a951091fe54ed20057a109dd (diff) | |
download | sos-fc908156bb888effc3e973f09ede606b7ab1476c.tar.gz |
Use uft-8 encoding for archive IO
When reading and writing files within the archive class use the
codecs module and set the 'utf-8' encoding. This prevents encoding
exceptions if a plugin passes a unicode string to add_string() or
if a plugin attempts to read unicode encoded data from an archive
file via the open_file() method.
Fixes Issue #275.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions