Skip to content
New issue

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

how can i defined decoding type? #18

Closed
JesseWeb opened this issue Jan 22, 2019 · 2 comments
Closed

how can i defined decoding type? #18

JesseWeb opened this issue Jan 22, 2019 · 2 comments

Comments

@JesseWeb
Copy link

needs gb2312 decoding dbf file,but get utf8

@yortus
Copy link
Owner

yortus commented Jan 29, 2019

@JesseWeb have a look at https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings. It doesn't look like Node.js supports gb2312?

@yortus
Copy link
Owner

yortus commented Jun 17, 2019

Specifying character encodings is supported now in V1.0. 'gb2312' should work according to https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings.

@yortus yortus closed this as completed Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants