csv-importer icon indicating copy to clipboard operation
csv-importer copied to clipboard

Fix issue with invisible chars while importing csv files

Open tracyloisel opened this issue 3 years ago • 0 comments

Capture d’écran 2022-10-04 à 05 26 10

Follow-up from the last PR opened and merged in August : https://github.com/pcreux/csv-importer/pull/107

The regexp /[^[:print:]]/ does not succeed to detect all invisible characters whereas the regexp /\P{Print}|\p{Cf}/ does.

If we strip each cell then we also need to remove invisible characters in each cell.

tracyloisel avatar Oct 04 '22 03:10 tracyloisel