Commit f4b4dd12 authored by Dietmar Maurer's avatar Dietmar Maurer

use utf8 encoding

parent e0c9df7b
...@@ -15,7 +15,7 @@ use PVE::INotify; ...@@ -15,7 +15,7 @@ use PVE::INotify;
use PVE::RPCEnvironment; use PVE::RPCEnvironment;
use PVE::API2; use PVE::API2;
use JSON; use JSON;
PVE::INotify::inotify_init(); PVE::INotify::inotify_init();
my $rpcenv = PVE::RPCEnvironment->init('cli'); my $rpcenv = PVE::RPCEnvironment->init('cli');
...@@ -265,7 +265,7 @@ sub call_method { ...@@ -265,7 +265,7 @@ sub call_method {
} }
} }
print to_json($data, {allow_nonref => 1, canonical => 1, pretty => 1 }); print to_json($data, {utf8 => 1, allow_nonref => 1, canonical => 1, pretty => 1 });
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment