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.
2 parents 0376e3f + e800574 commit 4cc446aCopy full SHA for 4cc446a
src/main/java/org/springdoc/maven/plugin/SpringDocMojo.java
@@ -45,7 +45,7 @@ public void execute() {
45
if (responseCode == HttpURLConnection.HTTP_OK) {
46
result = this.readFullyAsString(conection.getInputStream());
47
outputDir.mkdirs();
48
- Files.write(Paths.get(outputDir.getAbsolutePath() + "/" + outputFileName), result.getBytes());
+ Files.write(Paths.get(outputDir.getAbsolutePath() + "/" + outputFileName), result.getBytes(StandardCharsets.UTF_8));
49
} else {
50
getLog().error("An error has occured: Response code " + responseCode);
51
}
0 commit comments