Skip to content

Commit

Permalink
Merge pull request #242 from /issues/241-missing-character-encoding
Browse files Browse the repository at this point in the history
Fix #241: Missing character encoding for InputStream
  • Loading branch information
romanstrobl authored Sep 23, 2024
2 parents 4354933 + 5c2dd83 commit b2c898d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static List<List<String>> parseCsv(byte[] csvData) {
final List<List<String>> parsedData = new ArrayList<>();
try (
ByteArrayInputStream is = new ByteArrayInputStream(csvData);
InputStreamReader isr = new InputStreamReader(is)
InputStreamReader isr = new InputStreamReader(is, StandardCharsets.UTF_8)
) {
final Iterable<CSVRecord> records = CSVFormat.DEFAULT.parse(isr);
for (CSVRecord record : records) {
Expand Down

0 comments on commit b2c898d

Please sign in to comment.