yortus/DBFFile

text cut off at halt when appendRecords with multi-byte encoding

Closed this issue · 1 comments

mmagi commented

let byte = k < value.length ? b[k] : 0x20;

this line should be

let byte = k < b.length ? b[k] : 0x20;

instead of value.length

Thanks @mmagi! Should be fixed in v1.3.0.