scripts: size_report: fix encoding issue
Force default stdout encoding to utf-8 as otherwise ram_report/rom_report may fail to render (ex. in CLion IDE built-in terminal). Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
948ab60eb3
commit
ef0fd13090
1 changed files with 2 additions and 0 deletions
|
@ -737,6 +737,8 @@ def main():
|
|||
"""
|
||||
parse_args()
|
||||
|
||||
sys.stdout.reconfigure(encoding='utf-8')
|
||||
|
||||
# Init colorama
|
||||
init()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue