tools: validate utf8 encoding in stdin/out
[sheet.git] / tools / mkdigraphs-rfc
index 989c92651a4a2e5c44e3a588fafd93f3d07caa8e..48ce7f06171436a30d7b284dda8a30f8085fa393 100755 (executable)
@@ -2,7 +2,7 @@
 use 5.014;
 use warnings;
 use utf8;
-use open OUT => ':utf8', ':std';
+use open OUT => ':encoding(utf-8)', ':std';
 use charnames ':full';
 use Data::Dump 'pp';