diff options
author | Nao Ueda <nao.uedder@gmail.com> | 2020-10-07 15:47:48 +0900 |
---|---|---|
committer | Nao Ueda <nao.uedder@gmail.com> | 2020-10-07 15:47:48 +0900 |
commit | 75c189a7c4dc584a03d57441993f9c91f0a361f5 (patch) | |
tree | 44441c379c0de41f4793b53d1f881a0a9cbcaa74 /template | |
parent | 163c50c8e1d7a9625f6a33e7e107bdafc92d4299 (diff) | |
download | vim-sonictemplate-75c189a7c4dc584a03d57441993f9c91f0a361f5.tar.gz vim-sonictemplate-75c189a7c4dc584a03d57441993f9c91f0a361f5.tar.bz2 vim-sonictemplate-75c189a7c4dc584a03d57441993f9c91f0a361f5.zip |
Use ':utf8' for pipe in the Perl script template.perl_suppoert-utf8-pipe
Diffstat (limited to 'template')
-rw-r--r-- | template/perl/base-script.pl | 2 |
1 files changed, 2 insertions, 0 deletions
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_}} |