Skip to content

Commit

Permalink
support windows 1252 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Luro02 committed Apr 11, 2024
1 parent 33b0cf0 commit 320a2aa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ private SerializableCharset detectCharset(File file, SourcePath sourcePath) {
Set<Charset> supportedCharsets = Set.of(
StandardCharsets.UTF_8,
StandardCharsets.US_ASCII,
StandardCharsets.ISO_8859_1
StandardCharsets.ISO_8859_1,
Charset.forName("windows-1252")
);

try {
Expand Down

0 comments on commit 320a2aa

Please sign in to comment.