diff options
author | ivan <ivan> | 2011-04-18 23:15:19 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-18 23:15:19 +0000 |
commit | 75162bb14b3e38d66617077843f4dfdcaf09d5c4 (patch) | |
tree | d89dd49a476cf2f0859ed6a0adc2992ea6d69d04 /rt/t/web/attachment_encoding.t | |
parent | fc6209f398899f0211cfcedeb81a3cd65e04a941 (diff) |
import rt 3.8.10
Diffstat (limited to 'rt/t/web/attachment_encoding.t')
-rw-r--r-- | rt/t/web/attachment_encoding.t | 2 |
1 files changed, 1 insertions, 1 deletions
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; |