tools: validate utf8 encoding in stdin/out
[sheet.git] / tools / mkdigraphs-plan9
index 31bab3c6494fd78f21da19b68b54d63a4c96333a..41615efc16f49dbd11f17091f00a55b7012bac8f 100755 (executable)
@@ -2,7 +2,7 @@
 use 5.014;
 use warnings;
 use utf8;
-use open IO => ':utf8', ':std';
+use open IO => ':encoding(utf-8)', ':std';
 use Data::Dump 'pp';
 
 our $VERSION = '1.01';