X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Ft%2Fweb%2Fattachment_encoding.t;h=9ba567746629332eaa0c7e1735b4cca611594f80;hp=6796c9969c624a373601dbd80638d0d0da1ecdb2;hb=75162bb14b3e38d66617077843f4dfdcaf09d5c4;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941 diff --git a/rt/t/web/attachment_encoding.t b/rt/t/web/attachment_encoding.t index 6796c9969..9ba567746 100644 --- a/rt/t/web/attachment_encoding.t +++ b/rt/t/web/attachment_encoding.t @@ -48,7 +48,7 @@ diag 'test with attachemnts' if $ENV{TEST_VERBOSE}; my $file = File::Spec->catfile( File::Spec->tmpdir, 'rt_attachemnt_abcde.txt' ); - open my $fh, '>', $file or die $!; + open( my $fh, '>', $file ) or die $!; binmode $fh, ':utf8'; print $fh '附件'; close $fh;