diff --git a/apps/microsoft/sccm/local/mode/databasereplicationstatus.pm b/apps/microsoft/sccm/local/mode/databasereplicationstatus.pm index 8b11c70a6..5861b2039 100644 --- a/apps/microsoft/sccm/local/mode/databasereplicationstatus.pm +++ b/apps/microsoft/sccm/local/mode/databasereplicationstatus.pm @@ -194,7 +194,7 @@ sub manage_selection { my $decoded; eval { - $decoded = JSON::XS->new->utf8->decode($stdout); + $decoded = JSON::XS->new->decode($self->{output}->decode($stdout)); }; if ($@) { $self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");