yellowfeather / DbfDataReader

DbfDataReader is a small fast .Net Core library for reading dBase, xBase, Clipper and FoxPro database files
MIT License
134 stars 61 forks source link

Support for "W"-type columns #186

Closed xyrus02 closed 1 year ago

xyrus02 commented 1 year ago

Because I needed it for a project, I extended the reader to support Unicode columns (type "W") If I hadn't done this, the reader would just return null for all Unicode columns.

I also took the liberty of fixing a bug which causes a NullReferenceException when you don't pass a memo stream. A null check was already in place for one branch, but not for cases when the memo length equals 4.

chrisrichards commented 1 year ago

Thanks for this