--- Begin Message ---
From 8ed0c20251c464a058ea08872bc7d54f6701d912 Mon Sep 17 00:00:00 2001
From: James Brown <[email protected]&gt;
Date: Wed, 9 Oct 2024 08:40:10 +0800
Subject: [PATCH] Add UTF8 encoding


---
&nbsp;src/PVE/Tools.pm | 4 ++++
&nbsp;1 file changed, 4 insertions(+)


diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
index bd305bd..cf86a0e 100644
--- a/src/PVE/Tools.pm
+++ b/src/PVE/Tools.pm
@@ -3,6 +3,10 @@ package PVE::Tools;
&nbsp;use strict;
&nbsp;use warnings;


+use open qw(:std :utf8);
+use Encode qw(decode_utf8);
+@ARGV = map { decode_utf8($_, 1) } @ARGV;
+
&nbsp;use Date::Format qw(time2str);
&nbsp;use Digest::MD5;
&nbsp;use Digest::SHA;
--
2.34.1

--- End Message ---
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to