pve-common icon indicating copy to clipboard operation
pve-common copied to clipboard

Update Tools.pm to support UTF-8 encoding

Open James4Ever0 opened this issue 1 year ago • 0 comments

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

James4Ever0 avatar Sep 29 '24 08:09 James4Ever0