I have problem for example getting IP from qm command like this:
qm agent 115 network-get-interfaces
When its localized Windows machine, in my case CZ, the name of the interface contains utf8 national chars (poor Windows), but perl prints warning:
Wide character in print at /usr/share/perl5/PVE/CLI/qm.pm line 860.
it can be eliminated with adding utf8 support to perl in /sbin/qm changing first line to:
#!/usr/bin/perl -CS
Is it proper fix?
Jan
qm agent 115 network-get-interfaces
When its localized Windows machine, in my case CZ, the name of the interface contains utf8 national chars (poor Windows), but perl prints warning:
Wide character in print at /usr/share/perl5/PVE/CLI/qm.pm line 860.
it can be eliminated with adding utf8 support to perl in /sbin/qm changing first line to:
#!/usr/bin/perl -CS
Is it proper fix?
Jan