aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2024-01-21 19:50:58 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2024-01-21 19:50:58 +0000
commit9bfdab2d9e9941e79eba200af5332fc29d01bb4a (patch)
tree2a54b6fffcef718a39a5e52370379050c671fc12
parent51f5991e35c8d5e384c6b642042132b7a2238d07 (diff)
downloadqarepo-9bfdab2d9e9941e79eba200af5332fc29d01bb4a.tar
qarepo-9bfdab2d9e9941e79eba200af5332fc29d01bb4a.tar.gz
qarepo-9bfdab2d9e9941e79eba200af5332fc29d01bb4a.tar.bz2
qarepo-9bfdab2d9e9941e79eba200af5332fc29d01bb4a.tar.xz
qarepo-9bfdab2d9e9941e79eba200af5332fc29d01bb4a.zip
Convert native strings to UTF-8 when writing to STDOUT.
-rw-r--r--qarepo2
1 files changed, 2 insertions, 0 deletions
diff --git a/qarepo b/qarepo
index 734f5ce..9be79b1 100644
--- a/qarepo
+++ b/qarepo
@@ -29,6 +29,8 @@ use utf8;
my $version = '(devel)';
+binmode(STDOUT, ":utf8");
+
###############################################################################
# States and Status
###############################################################################