Skip to content

Commit

Permalink
Merge pull request #396 from nathanlao/patch-1
Browse files Browse the repository at this point in the history
encode the entries in zip by passing in UTF-8 ctor
  • Loading branch information
eed3si9n authored Dec 18, 2024
2 parents 3808a7a + 469fcc7 commit 39e6b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/src/main/scala/sbt/io/IO.scala
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ object IO {
os.closeEntry()

(os, "jar")
case None => (new ZipOutputStream(fileOut), "zip")
case None => (new ZipOutputStream(fileOut, defaultCharset), "zip")
}
try {
f(zipOut)
Expand Down

0 comments on commit 39e6b1a

Please sign in to comment.