Created attachment 131319 [details]
different hyphenation-characters in spell-checking
* One word out of the standard dictionary, e.g. "downhill"
* Another word that was added to the dictionary, e.g. "wahnsinn"
When I combine words of the two categories described above (e.g. downhill-wahnsinn) using the linguistically correct hyphenation character U+2010, spelling is shown as correct.
However, when I use the ASCII hyphenation character U+002D, an error is shown.
It would be great if LibreOffice spell checking treated the hyphenation character U+002D the same als U+2010.
Created attachment 131339 [details]
different hyphenation-charcters in spell-checking - improved
Thank you for reporting the bug.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
The "bug" is still present in version 126.96.36.199.
However, it is not a bug at all. Just a change request. As I stated before: a feature that would be nice to have.
I just noticed, that character U+2010 is not present in some fonts. I reproduced the "bug" with U+2012, which is present e.g. in the Liberation font family.
*** This bug has been marked as a duplicate of bug 85731 ***
This is a different issue than bug 85731 which is about the character being inserted at line break during hyphenation (i.e. output), not which characters are recognized as hyphen during input.
From a user's perspective, the situation is even more tricky:
Hyphen characters U+002D and U+2010D ARE both treated as word separators, if both words are in the standard dictionary.
U+002D is no longer treated as word separator as soon as one of the words is taken from a user's dictionary. See attachment 131339 [details].
So for me it looks like this is not an issue of the hyphenation library but rather one of how LO treats words from different dictionaries.