Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
1.5.0 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
1.4.0p35 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks