]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Assume that any XML file we load via the CLI is an UTF-8 file.
authorAndrew Ruthven <andrew@etc.gen.nz>
Sat, 7 Jul 2012 10:03:39 +0000 (22:03 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Sat, 7 Jul 2012 10:03:39 +0000 (22:03 +1200)
bin/mythtv-status

index d12aa00437f624be94e3d55ce9ac31b13ffa4e0c..d3e36c8d379e2993c53adcd18a1cb66289650d73 100755 (executable)
@@ -668,6 +668,7 @@ sub load_xml {
       || die "Failed to open $c->{'xml_file'} for reading: $!\n";
 
     $status = join("", <IN>);
+    $charset = 'UTF-8';
 
     close IN;
   } else {