naparuba/shinken — pull request #1369 by gst (2014-11-06 18:28:57+00:00)
Title: Fix an encode problem.

stdout can be in any encoding.

So print encode to that encoding and eventually xmlcharrefreplace if encoding (like ascii) can't encode every unicode char.