]> git.ipfire.org Git - people/ms/u-boot.git/commit
buildman: properly translate strings for log and err files to ASCII
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Thu, 8 Jun 2017 01:07:09 +0000 (03:07 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 9 Jun 2017 19:45:34 +0000 (13:45 -0600)
commitaafbe82fb6ffc233f0db57b675c2577cf37c846b
tree70f5beb828fec67d41999fd42d50f6bdeb23b7b5
parentb0e994c29e726dc0ba02a44adbd050f5f9f0b995
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>
tools/buildman/builderthread.py