From f0b19f0a085e484fb4f0b0240d708f1f82c2ac24 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 6 Dec 2021 23:29:25 -0500 Subject: [PATCH] Force ouverture de tous les fichiers en UTF-8 --- gtx2tex.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtx2tex.pl b/gtx2tex.pl index 03a120b..f1b3e2a 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -22,6 +22,9 @@ use locale; # Configure STDOUT to output in UTF-8 binmode(STDOUT, ":utf8"); +# Open all files in UTF-8 by default +use open ':encoding(utf8)'; + GetOptions( "output=s" => \$output, "lyrics" => \$lyrics, "verbose" => \$verbose, -- 2.20.1