From 096f0b33713dc3d3743f9b6ead9e137b002929cf Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 7 Jul 2012 22:04:08 +1200 Subject: [PATCH] Since we encode the string, we should also decode it. --- bin/mythtv-status | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/mythtv-status b/bin/mythtv-status index d3e36c8..d5f1d23 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -1087,6 +1087,9 @@ sub xml_fetch { } $| = 0; + if (defined $content_type && $content_type =~ /utf(-)?8/i) { + $status = decode('UTF-8', $status); + } return ($content_type, $status); } else { # child -- 2.30.2