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.