On certain environments if the locale is set to ASCII when printing an
attachment things will explode because it's potentially trying to use
unicode chars outside of ASCII. This commit forces the attachment
output to be unicode encoded to avoid this issue.
Reviewed: https:/ /review. openstack. org/229527 /git.openstack. org/cgit/ openstack/ os-testr/ commit/ ?id=65e1e1867c3 0fc70e4963df7f5 bd9a15acf54a68
Committed: https:/
Submitter: Jenkins
Branch: master
commit 65e1e1867c30fc7 0e4963df7f5bd9a 15acf54a68
Author: Matthew Treinish <email address hidden>
Date: Wed Sep 30 13:00:23 2015 -0400
Force utf8 encoding on subunit attachments output
On certain environments if the locale is set to ASCII when printing an
attachment things will explode because it's potentially trying to use
unicode chars outside of ASCII. This commit forces the attachment
output to be unicode encoded to avoid this issue.
Change-Id: I79ff7482ec3b1f d3ce83b8acf3137 119b3db39a9
Closes-Bug: #1501415