-
Notifications
You must be signed in to change notification settings - Fork 32
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
User Dictionary Encoding #183
Comments
First of all do you download Dutch dictionary from default location e.g. Also it's strange that you don't see If I remember correctly this error appears when the dictionary is some non-utf8 encoding and you are adding a word which contains symbols not available in that encoding, for example if you are trying to add word with Chinese characters to English dictionary which uses |
Thank you for the fast reply. I'm beginning to understand now. The user dictionary must have the same encoding as the main dictionary. I was looking in BTW the Dutch word was Thank you very much for your support, and, last but not least, for providing and maintaining this great plug-in! |
You're welcome and thank you for putting the work to figure all this out! Maybe adding the absolute path to e.g. the .aff file in error message would actually be helpful for the people with issues like this one in the future. |
Yes, agreed, the absolute path to the .aff would have helped. With Though it took nearly three hours to get there, I'm very happy and contented with the result. 😄 |
Shouldn't everything just be UTF8 by default? I am getting the same error for trying to add |
@endolith What I can do however is support some repositories containing utf-8 dictionaries: |
I mean the .aff file and user dictionary in DSpellCheck / notepad++ should be UTF8 by default so we don't have to modify it to add words with special characters |
@endolith I do not provide any dictionaries with plugin, all dictionaries are downloaded from some other source. |
When trying to add an unknown word to the user dictionary, I get,
“Word cannot be added — Sadly, this word contains symbols out of current dictionary encoding, thus it cannot be added to user dictionary. You can convert this dictionary to UTF8 (don't forget to change the line
SET {encoding}
in .aff file) or choose the different one with appropriate encoding.”No real surprise, the language is Dutch, and there is no standard (ISO/Windows) fixed-width 8-bit encoding that can represent all Dutch characters. Hence, UTF-8 (or some other variable-width Unicode Transformation Format) is mandatory.
What I don't understand is, how to convert this user dictionary to UTF-8. There is no
.aff
file, only anl_NL.usr
file. Inserting a UTF-8 BOM at the start ofnl_NL.usr
doesn't help. What shall I do?The text was updated successfully, but these errors were encountered: