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