-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
hunspell stumbles over copyright symbol #281
Comments
CC @lopopolo that was the issue at hand, the suggestion should accept 0xC2 0xA9 as valid since it is valid itself, but returns garbage suggestions instead. It's still present in 0.12.2 but will only be a verbose message that will be handled in the next release. |
Oh awesome. That's in the generated headers of the Unicode files. Great catch @drahnr and thanks for debugging! |
@lopopolo I realized you have custom dict, with a |
I just tried this workaround and that seemed to work! I get no warning messages in |
The core issue is due to the fact that Solution would be to use i.e. encoding_rs to re-encode the dictionaries to UTF-8 and only afterwards feed them to |
Describe the bug
To Reproduce
Steps to reproduce the behaviour:
©
cargo spellcheck file.rs
Expected behavior
Handle or ignore, currently
hunspell-rs
is hacked to print an error.Screenshots
Please complete the following information:
The text was updated successfully, but these errors were encountered: