We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8074f15 commit ce4e81dCopy full SHA for ce4e81d
project/Build.scala
@@ -742,7 +742,7 @@ object Build {
742
.filter(p => p.toString().endsWith(".scala"))
743
.filter(p => !p.getFileName().toString().equals("CollectionName.scala"))
744
.map[java.io.File] { (file: java.nio.file.Path) =>
745
- val text = Files.readString(file)
+ val text = new String(Files.readAllBytes(path), java.nio.charset.StandardCharsets.UTF_8)
746
Files.write(
747
file,
748
("package dotty.shaded\n" +
0 commit comments