tools: validate utf8 encoding in stdin/out
[sheet.git] / tools / mkdigraphs-shiar
index b1c0d5a0e389c576b86afca87fccf9dfcfa4c460..58da37cf19677af5e11c1ab56243d6982cc649ac 100755 (executable)
@@ -1,8 +1,7 @@
 #!/usr/bin/env perl
-use 5.010;
-use strict;
+use 5.014;
 use warnings;
-use open IN => ':utf8', ':std';
+use open IN => ':encoding(utf-8)', ':std';
 
 our $VERSION = '1.03';