Werk #6373: Fixed UnicodeEncodeError when piping "cmk -M" to stream or file
Component | Core & setup |
Title | Fixed UnicodeEncodeError when piping "cmk -M" to stream or file |
Date | Jul 27, 2018 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.4.0p35 1.5.0 1.6.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
The output of e.g. "cmk -M" was not correctly encoded when the output was written to streams or files leading to a "UnicodeEncodeError: 'ascii' codec can't encode character" error.