SymSpell icon indicating copy to clipboard operation
SymSpell copied to clipboard

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

Open RAJAT--PALIWAL opened this issue 7 years ago • 1 comments

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 å

RAJAT--PALIWAL avatar Jul 25 '18 05:07 RAJAT--PALIWAL

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.

wolfgarbe avatar Jul 28 '18 10:07 wolfgarbe