Skip to content

Commit 619051c

Browse files
committed
chore: fix formatter to use UTF-8 (as asserted by spotless)
1 parent d771a9c commit 619051c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/main/java/com/diffplug/spotless/generic/IdeaStep.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ private List<String> getParams(File file) {
260260
builder.add("-s");
261261
builder.add(codeStyleSettingsPath);
262262
}
263+
builder.add("-charset").add("UTF-8");
263264
builder.add(ThrowingEx.get(file::getCanonicalPath));
264265
return builder.build().collect(Collectors.toList());
265266
}

0 commit comments

Comments
 (0)