#98 em-dash and en-dash give spelling errors

Pablo Rodriguez

Hi Enrico,

enabling spell as you type and selecting English as document language, I get errors with the following:

This is an error—this is en-dash–makes

«make» “make” ‘make’ ‹make› „make“ „make‟

I mean, these are en- and em-dashes and different quotation marks. And all cause false positives.

Could this be fixed in the spellckecker plugin or should I report upstream?

Many thanks for your help,



  • "Don’t" is marked as spelling error, while "don't" isn’t.

    Wouldn’t it be possible to fix this?

  • Slavko

    There are another unicode related problems, with chars as bullet (•), or dash (–).

    I am using hunspell dictionary for spellcheck, but checking document directly with hunspell and with enchant skips these (and previously mentioned combinations) problems, then this points to this plugin implementation.

  • Enrico Tröger
    Enrico Tröger

    The Unicode problems a word start and end should be fix in GIT master, this should also affect the bullet and dash issues.

    However, the fix I made isn't really a final solution, it's just a workaround for the fact that the spell checker plugin mostly works on strings considering them as byte streams not as Unicode characters sequences. At some point, I should rewrite this to fully consider text as Unicode and not as a byte stream.

    Because of the above, the issue with "Don’t" still persists and can't be fixed that easily. Currently, "Don’t" is passed to Enchant as one word. So at least, you could add it to your personal dictionary and it won't be marked as wrong again.

  • Enrico Tröger
    Enrico Tröger

    • status: open --> closed-fixed
    • assigned_to: Enrico Tröger