Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cyrillic not support #1

Open
kenvals opened this issue Mar 14, 2024 · 2 comments
Open

Cyrillic not support #1

kenvals opened this issue Mar 14, 2024 · 2 comments

Comments

@kenvals
Copy link

kenvals commented Mar 14, 2024

Hi, I use the library to translate shp+dbf files into geojson however, I noticed that the library does not correctly translate the code into a string if the text is written in Cyrillic, can you help?

@fishcharlie
Copy link
Member

@kenvals I've never worked with Cyrillic before. So probably can't help with this.

@kenvals
Copy link
Author

kenvals commented Mar 25, 2024

@fishcharlie I saw in your code that you have already tried to implement something similar..

// if (this.#configuration?.iconvLiteDecodeFn && this.#configuration?.inputEncoding) { // let buffer = []; // for (let h = 0; h < fields[j].fieldLength; h++) { // buffer.push(dataView.getUint8(idx)); // idx += 1; // } // str = this.#configuration?.iconvLiteDecodeFn(buffer, this.#configuration?.inputEncoding) // } else {

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants