Re: Some words initially treated as misspelled

Kevin Atkinson <[email protected]> Tue, 17 Feb 2009 13:42:12 -0700 (MST)
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
On Tue, 17 Feb 2009, Pete Black wrote:

> Hey everybody,
>
> I'm using Aspell in a Qt C++ application. Everything works great,
> however there is one issue I've had off and on. For some reason, some
> words, like "misspelled" or "application", come up as misspelled the
> first time they are entered. That is, I can check any word, both
> misspelled or correct, but as soon as I enter these particular words the
> first time they get treated as misspelled.
>
> For example calling aspell_speller_check() with these word results in:
>
>  "OK" -> correct (returned 1)
>  "ok" -> incorrect (returned 0)

"ok" (lowercase version) should be incorrect, since the correct spelling 
is "OK" (all uppercase)

>  "misspelled" -> incorrect (returned 0)
>  "misspelled" -> correct (returned 1)

Please make sure that you are trying the exact same string by doing a byte 
for byte comparison of the string after it is converted to UTF-8.  If 
If there is no different please try to reproduce the problem in a 
standalone program (preferably without any Qt dependencies).