We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the module "node-dbf" there is the following problem: the encoding with large files,
buffer = overflow + buffer //return string utf-8
replace
buffer = Buffer.concat([overflow,buffer], buffer.length + overflow.length); //return buffer
fields, records "N" may be not integer ("N 15 3"), when processing fields of type "F" is equal to 0 it returns NaN.
value = +value; //for field.type 'F','N' (standard no leading zeros)
I would also like to ask to add the ability to specify the decoding function of string
value = (buffer.toString @encoding).trim()
if (this.encodingFunction) { value = (this.encodingFunction(buffer)).trim(); } else { value = (buffer.toString(this.encoding)).trim(); }
and add type the date
if (field.type === 'D') { value = new Date(+value.slice(0,4), +value.slice(4,6), +value.slice(6,8)); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the module "node-dbf" there is the following problem:
the encoding with large files,
replace
fields, records "N" may be not integer ("N 15 3"),
when processing fields of type "F" is equal to 0 it returns NaN.
I would also like to ask to add the ability to specify the decoding function of string
replace
and add type the date
The text was updated successfully, but these errors were encountered: