Thread: 0.5.0 Released
View Single Post
Old 01-23-2012, 11:54 AM   #33
Timur
Connoisseur
Timur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five wordsTimur can name that ebook in five words
 
Posts: 54
Karma: 37363
Join Date: Aug 2011
Location: Istanbul
Device: EBW1150, Nook STR
Quote:
Originally Posted by user_none View Post
I'm using Hunspell for spell check and this is a short coming of the dictionary ghostyjack is using. Basically he's using one without unicode support. The fix is to use a different dictionary that knows that a curly quote is the same as a straight quote.
Great work on the new Sigil, thank you.

I am using a unicode-enabled UK dictionary, and it is working great with curly quotes. But the user dictionary is behaving strange; when I add a word(using context menu) with curly quote to it, spell checker still shows error on the added word. When I change the curly quote in the user dictionary to straight quote, then it is showing the word with the curly quote as correct.

I think that's because there is an
Code:
ICONV ’ '
line in my en_GB.aff dictionary to make the map from curly to straight working(regular dictionary entries use straight quotes), but since the user dictionary gets the word already in curly quote, it causes mismatch with the converted quote when checking.
Timur is offline   Reply With Quote