zhikrullah / pyshp

Automatically exported from code.google.com/p/pyshp
MIT License
0 stars 0 forks source link

Fields with garbage after NULL are read back as strings #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you have a DBF field that has garbage after the terminating NULL, the record 
will contain the terminating NULL and the garbage, even if it is defined as 
something else than C (F for instance).

The expected behavior is to end the string at the NULL, disregard anything 
after the NULL and do the correct conversion based on field type.

Original issue reported on code.google.com by costa.ga...@gmail.com on 2 May 2013 at 4:45

GoogleCodeExporter commented 8 years ago

Original comment by jlawh...@geospatialpython.com on 2 May 2013 at 4:51