mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
fix unicode support related bugs in s3select (#7877)
This commit is contained in:
committed by
Harshavardhana
parent
bb871a7c31
commit
037319066f
@@ -141,9 +141,8 @@ func NewReader(readCloser io.ReadCloser, args *ReaderArgs) (*Reader, error) {
|
||||
// If LazyQuotes is true, a quote may appear in an unquoted field and a
|
||||
// non-doubled quote may appear in a quoted field.
|
||||
csvReader.LazyQuotes = true
|
||||
// If TrimLeadingSpace is true, leading white space in a field is ignored.
|
||||
// This is done even if the field delimiter, Comma, is white space.
|
||||
csvReader.TrimLeadingSpace = true
|
||||
// We do not trim leading space to keep consistent with s3.
|
||||
csvReader.TrimLeadingSpace = false
|
||||
|
||||
r := &Reader{
|
||||
args: args,
|
||||
|
||||
Reference in New Issue
Block a user