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 81952db commit 5c3206aCopy full SHA for 5c3206a
plugin/src/test/java/io/jenkins/plugins/forensics/git/blame/GitBlamerTest.java
@@ -19,6 +19,7 @@
19
20
import java.io.File;
21
import java.io.IOException;
22
+import java.nio.charset.StandardCharsets;
23
24
import org.jenkinsci.plugins.gitclient.GitClient;
25
import hudson.FilePath;
@@ -320,7 +321,7 @@ private byte[] getRawCommit(final int commitTime) {
320
321
Commit message""".formatted(
322
commitTime,
323
commitTime)
- .getBytes();
324
+ .getBytes(StandardCharsets.UTF_8);
325
}
326
327
private BlameResult createResult(final int size) {
0 commit comments