View Single Post
Old 01-21-2017, 11:03 AM   #38
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,894
Karma: 6120478
Join Date: Nov 2009
Device: many
I am only going by what the code says. Sigil copies the word to be checked and converts all smart single quotes to dumb single quotes when spellchecking a word. The words from user lists are then added to the Hunspell dictioanry using this same approach but the user lists should retain the original form of the word.

Those Hunspell iconv aff lines should convert all smart single quotes to dumb ones (just like Sigil does) upon input and that oconv lines should convert suggestions from dumb single quotes to smart ones.

All of this will only work if the actual encoding supports both characters. ISO8859-1 does not support smart single quotes. The oconv lines will not allow mixing of suggestions, it should simply change any dumb single quote to smart single quote. I will run some tests with my the newly created de_DE to validate this.

KevinH

Last edited by KevinH; 01-21-2017 at 11:06 AM.
KevinH is offline   Reply With Quote