From: Mischa POSLAWSKY Date: Wed, 4 Sep 2019 18:23:23 +0000 (+0200) Subject: assume standard input/output is utf8 X-Git-Tag: v1.01~14 X-Git-Url: http://git.shiar.nl/barcat.git/commitdiff_plain/1898fee71e16a96c7909af2453061eb8d25eadf0 assume standard input/output is utf8 Fixes length calculation of unicode data. --- diff --git a/graph b/graph index 093ed65..ad1225b 100755 --- a/graph +++ b/graph @@ -2,6 +2,7 @@ use 5.014; use warnings; use List::Util qw( max sum ); +use open qw( :std :utf8 ); our $VERSION = '1.00';