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

Support for different Encoding Style while loading Dictionary from a text file #37

Open
RAJAT--PALIWAL opened this issue Jul 25, 2018 · 1 comment

Comments

@RAJAT--PALIWAL
Copy link

Currently there's no support for various encoding style like ISO-8859-1 while reading data to create Dictionary.
Having Encoding as optional argument will help load Accented characters also like å

@wolfgarbe
Copy link
Owner

wolfgarbe commented Jul 28, 2018

SymSpell uses UTF-8, and UTF-8 supports accented characters like å.

If your text files are in a different encoding you could alway convert the text files to UTF-8 before consuming them in SymSpell:
https://www.motobit.com/util/charset-codepage-conversion.asp
https://linux.die.net/man/1/iconv

Nevertheless I can add an optional Encoding/Codepage parameter to LoadDictionary and CreateDictionary in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants