From b98b63c51602ae7fb15798483389a4eae031e2fa Mon Sep 17 00:00:00 2001 From: feng-j678 <127874208+feng-j678@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:15:21 -0800 Subject: [PATCH] add encoding propertity to resolve pro-client prerequist error (#233) --- src/core/src/local_loggers/StdOutFileMirror.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/src/local_loggers/StdOutFileMirror.py b/src/core/src/local_loggers/StdOutFileMirror.py index 569ba6d..a73f577 100644 --- a/src/core/src/local_loggers/StdOutFileMirror.py +++ b/src/core/src/local_loggers/StdOutFileMirror.py @@ -26,6 +26,7 @@ class StdOutFileMirror(object): self.env_layer = env_layer self.terminal = sys.stdout # preserve for recovery self.file_logger = file_logger + self.encoding = 'UTF-8' splash = "\n,---. ,---. | | ,-.-. | \n|---|,---,. .,---.,---. |---',---.|--- ,---.|---. | | |,---.,---.,---.,---.,---.,-.-.,---.,---.|--- \n| | .-' | || |---' | ,---|| | | | | | |,---|| |,---|| ||---'| | ||---'| || \n` ''---'`---'` `---' ` `---^`---'`---'` ' ` ' '`---^` '`---^`---|`---'` ' '`---'` '`---'\n `---' " if self.file_logger.log_file_handle is not None: