cockpit-project/cockpit — pull request #1428 by stefwalter (2014-11-04 06:23:43+00:00)
Title: bridge: Move UTF8 validation to CockpitChannel

This allows multiple channels to take advantage of this. For
channels that are sure they're producing valid UTF8, there's a
flag so we don't have to recheck everything.