From 75c189a7c4dc584a03d57441993f9c91f0a361f5 Mon Sep 17 00:00:00 2001 From: Nao Ueda Date: Wed, 7 Oct 2020 15:47:48 +0900 Subject: Use ':utf8' for pipe in the Perl script template. --- template/perl/base-script.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'template') diff --git a/template/perl/base-script.pl b/template/perl/base-script.pl index 01e3ce9..2982a9f 100644 --- a/template/perl/base-script.pl +++ b/template/perl/base-script.pl @@ -1,5 +1,7 @@ use strict; use warnings; use utf8; +binmode STDIN, ':utf8'; +binmode STDOUT, ':utf8'; {{_cursor_}} -- cgit v1.2.3-54-g00ecf