turicas / rows

A common, beautiful interface to tabular data, no matter the format
GNU Lesser General Public License v3.0
865 stars 136 forks source link

Fix/273 automatically replace null #276

Closed rhenanbartels closed 6 years ago

rhenanbartels commented 6 years ago

As suggest by @turicas in #273, I've created a wrapper for the file object and replaced the Null bytes (b'\x00') with empty bytes (b'').

To reproduce the error: 'line contains NULL byte', I also created a csv file (/data/csv_with_null_bytes.csv) containing null bytes.

turicas commented 6 years ago

Thanks! <3