Skip to content

Commit 32a0a57

Browse files
committed
Added more explicit stream types
1 parent 3412122 commit 32a0a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/codehaus/plexus/archiver/tar/TarArchiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ protected void execute()
149149

150150
final OutputStream bufferedOutputStream = new BufferedOutputStream( new FileOutputStream( tarFile ) );
151151
tOut =
152-
new TarArchiveOutputStream( compress( compression, bufferedOutputStream ) );
152+
new TarArchiveOutputStream( compress( compression, bufferedOutputStream ), "UTF8" );
153153
if ( longFileMode.isTruncateMode() )
154154
{
155155
tOut.setLongFileMode( TarArchiveOutputStream.LONGFILE_TRUNCATE );

0 commit comments

Comments
 (0)