View Single Post
Old 01-19-2017, 05:22 PM   #16
AnselmD
Zealot
AnselmD began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Oct 2013
Device: none
Quote:
Originally Posted by varlog View Post
There is this piece of code in Sigil:
Code:
QString Utility::getSpellingSafeText(const QString &raw_text)
{
    // There is currently a problem with Hunspell if we attempt to pass
    // words with smart apostrophes from the CodeView encoding.
    // There are likely better ways to solve this, but this one does
    // get the job done until someone can implement something better.
    QString text(raw_text);
    return text.replace(QString::fromUtf8("\u2019"), "'");
}
Don't know if it's related, it is used three times in SpellCheck.cpp. Just info.
Maybe this is done (and should be done) by the .aff fille?

if i remove the line
ICONV ’ '
from de_DE_OLDSPELL.aff
it works.
i can leave the following line untouched.
OCONV ' ’
AnselmD is offline   Reply With Quote