Skip to content

Commit b04b0a6

Browse files
committed
improved Perl code on non-ascii output
1 parent d7dbc30 commit b04b0a6

File tree

1 file changed

+5
-0
lines changed
  • ide/plugins/perl-format/src/content/formats

1 file changed

+5
-0
lines changed

ide/plugins/perl-format/src/content/formats/perl-rc.js

+5
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,11 @@ this.options = {
227227
header:
228228
'use strict;\n' +
229229
'use warnings;\n' +
230+
'use utf8;\n' +
231+
'BEGIN {\n' +
232+
' binmode STDOUT, ":utf8";\n' +
233+
' binmode STDERR, ":utf8";\n' +
234+
'}\n' +
230235
'use Time::HiRes qw(sleep);\n' +
231236
'use Test::WWW::Selenium;\n' +
232237
'use Test::More "no_plan";\n' +

0 commit comments

Comments
 (0)