Fixes Bug 912552 - statsd failing on non-ascii characters