mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 18:53:07 +00:00
fix #3754: encode JSON as utf8 for CLI
since this output is printed to the command line it should be encoded to avoid the wide character warnings Signed-off-by: Stefan Hrdlicka <s.hrdlicka@proxmox.com>
This commit is contained in:
parent
23ead37984
commit
3b6479ff28
@ -857,7 +857,7 @@ my $print_agent_result = sub {
|
||||
return;
|
||||
}
|
||||
|
||||
print to_json($result, { pretty => 1, canonical => 1});
|
||||
print to_json($result, { pretty => 1, canonical => 1, utf8 => 1});
|
||||
};
|
||||
|
||||
sub param_mapping {
|
||||
|
Loading…
Reference in New Issue
Block a user