From ecec027775217bfbc259689aee13a39a823aa3bb Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 8 Oct 2020 15:56:26 +0200 Subject: [PATCH] decode utf8 meraki --- .../network/cisco/meraki/cloudcontroller/restapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm b/centreon-plugins/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm index 0fde49a78..7bc92031d 100644 --- a/centreon-plugins/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm +++ b/centreon-plugins/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm @@ -221,7 +221,7 @@ sub request_api { my $content; eval { - $content = JSON::XS->new->allow_nonref(1)->decode($response); + $content = JSON::XS->new->utf8->allow_nonref(1)->decode($response); }; if ($@) { $self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");