pve-common
pve-common copied to clipboard
Update Tools.pm to support UTF-8 encoding
Fix UTF-8 encoding/decoding issues.
I would suggest adding a line export PERL_UNICODE=SDA into /etc/profile instead.
Related links:
https://devtut.github.io/perl/file-i-o-reading-and-writing-files.html
https://www.perl.com/pub/2012/05/perlunicook-make-all-io-default-to-utf-8.html/
Related issues:
https://lore.proxmox.com/pve-devel/[email protected]/T/
https://bugzilla.proxmox.com/show_bug.cgi?id=5747
https://bugzilla.proxmox.com/show_bug.cgi?id=1909