When reading a fixed width file in CsvJdbc, all column values are trimmed, even if CsvJdbc connection property trimValues
is set to false. Java method that does this is CsvRawReader.parseFixedLine()
.
When reading a EBCDIC format text file with CsvJdbc connection property charset
set to EBCDIC, String.trim()
corrupts the string.
When trimValues
is false, column values should not be trimmed.
Originally reported with topic TrimValues ignored for FixedColumnWidth setting in CsvJdbc Discussion csvjdbc-develop forum.