We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7093727 commit a3a361fCopy full SHA for a3a361f
src/training/tesstrain.py
@@ -50,7 +50,7 @@ def setup_logging_console():
50
51
52
def setup_logging_logfile(logfile):
53
- logfile = logging.FileHandler(logfile)
+ logfile = logging.FileHandler(logfile, encoding='utf-8')
54
logfile.setLevel(logging.DEBUG)
55
logfile_formatter = logging.Formatter(
56
"[%(asctime)s] - %(levelname)s - %(name)s - %(message)s"
0 commit comments