projects
/
musique
/
hvguitartex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d638fea
)
Force ouverture de tous les fichiers en UTF-8
author
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 7 Dec 2021 04:29:25 +0000
(23:29 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 9 Mar 2022 22:14:43 +0000
(17:14 -0500)
gtx2tex.pl
patch
|
blob
|
history
diff --git
a/gtx2tex.pl
b/gtx2tex.pl
index
03a120b
..
f1b3e2a
100644
(file)
--- 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,