commit | 2750585ca7bb880ca3f10b8ab0f15c8d3b481987 | [log] [tgz] |
---|---|---|
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Thu Jun 08 03:07:09 2017 +0200 |
committer | Simon Glass <sjg@chromium.org> | Fri Jun 09 13:45:34 2017 -0600 |
tree | 70f5beb828fec67d41999fd42d50f6bdeb23b7b5 | |
parent | c9e5f0c84ab91e0d99422eb7fe286d645dba0c7e [diff] |
buildman: properly translate strings for log and err files to ASCII The build output can still produce unicode encoded output. But in the buildman's log and err files we only want plain ASCII characters. To handle all situations with unicode and non-unicode output, encode the stdout and stderr strings to UTF-8 and afterwards to ASCII with replacing all special characters. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>