Skip to content

Commit 39e6b1a

Browse files
authored
Merge pull request #396 from nathanlao/patch-1
encode the entries in zip by passing in UTF-8 ctor
2 parents 3808a7a + 469fcc7 commit 39e6b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/src/main/scala/sbt/io/IO.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ object IO {
767767
os.closeEntry()
768768

769769
(os, "jar")
770-
case None => (new ZipOutputStream(fileOut), "zip")
770+
case None => (new ZipOutputStream(fileOut, defaultCharset), "zip")
771771
}
772772
try {
773773
f(zipOut)

0 commit comments

Comments
 (0)