Skip to content

hunspell stumbles over copyright symbol #281

@drahnr

Description

@drahnr

Describe the bug

Encountered error Utf8Error { valid_up_to: 2, error_len: Some(1) } returned from Hunspell_suggest(handle, ["\"\\xc2\\xa9\""]): 0: "\xc2\x80\x93"
[2022-09-16T10:03:50Z DEBUG hunspell] © --{suggest}--> []

To Reproduce

Steps to reproduce the behaviour:

  1. A file containing ©
  2. Run cargo spellcheck file.rs
  3. ...

Expected behavior

Handle or ignore, currently hunspell-rs is hacked to print an error.

Screenshots

Please complete the following information:

  • System: Fedora
  • Obtained: cargo + git
  • Version: 0.12.2 / git

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions