faradayio / scrubcsv

Remove bad records from a CSV file and normalize
56 stars 7 forks source link

Optionally trim whitespace from cells (fixes #8) #15

Closed emk closed 4 years ago

emk commented 4 years ago

We add a --trim-whitespace command. This avoids using the standard trim() method because that method requires a UTF-8 string, and we handle UTF-8 input, so we need to roll our own.