Werk #6373: Fixed UnicodeEncodeError when piping 'cmk -M' to stream or file

KomponenteCore & Setup
TitelFixed UnicodeEncodeError when piping "cmk -M" to stream or file
Datum2018-07-27 11:07:35
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p35,1.6.0i1,1.5.0
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

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.