← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:bug/1751051-subp-encode-with-utf8 into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:bug/1751051-subp-encode-with-utf8 into cloud-init:master has been updated.

Commit Message changed to:

subp: Fix subp usage with non-ascii characters when no system locale.
    
If python starts up without a locale set, then its default encoding
ends up set as ascii.  That is not easily changed with the likes of
setlocale.  In order to avoid UnicodeDecodeErrors cloud-init will
encode to bytes a python3 string or python2 basestring so that the
values passed to Popen are already bytes.
    
LP: #1751051

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/338586
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:bug/1751051-subp-encode-with-utf8 into cloud-init:master.


References