We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6448998 commit 81b3038Copy full SHA for 81b3038
doc-tool/src/dotty/tools/dottydoc/staticsite/Site.scala
@@ -408,7 +408,7 @@ case class Site(
408
}
409
410
private def toSourceFile(f: JFile): SourceFile =
411
- SourceFile(AbstractFile.getFile(new File(f.toPath)), Source.fromFile(f).toArray)
+ SourceFile(AbstractFile.getFile(new File(f.toPath)), Source.fromFile(f, "UTF-8").toArray)
412
413
private def collectFiles(dir: JFile, includes: String => Boolean): Array[JFile] =
414
dir
0 commit comments