Change default encoding to UTF-8 in file-based readers and writers

This commit overrides the fix in #3910 by using UTF-8
as default encoding in file-based item readers and writers.

Issue #1154
This commit is contained in:
Mahmoud Ben Hassine
2022-05-17 20:06:21 +02:00
parent 12c5cb967d
commit df8dac19df
4 changed files with 9 additions and 8 deletions

View File

@@ -285,7 +285,7 @@ interpreted, as described in the following table:
|===============
|Property|Type|Description
|comments|String[]|Specifies line prefixes that indicate comment rows.
|encoding|String|Specifies what text encoding to use. The default is the value of `Charset.defaultCharset()`.
|encoding|String|Specifies what text encoding to use. The default value is `UTF-8`.
|lineMapper|`LineMapper`|Converts a `String` to an `Object` representing the item.
|linesToSkip|int|Number of lines to ignore at the top of the file.
|recordSeparatorPolicy|RecordSeparatorPolicy|Used to determine where the line endings are