On Thu, 17 Aug 2006 07:43:12 -0500, Gary Setter wrote: > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, August 17, 2006 6:50 AM > Subject: [Aspell-user] How to add russian word to personal dict? > > > > How to add russian word to personal dict using C API? > > I'm using utf-8 encoding, everything is fine except adding > russian word to dict. > > aspell_speller_add_to_personal return 0 > > aspell_speller_save_all_word_lists return 0 > > whats wrong? > > > Hi, > > I'm not a russian speaker, but if you have a sample text file for > testing, I would see if I can reproduce the problem. with text file it works fine. It doesnt work with C API. I'm trying to make it something like this
err = aspell_speller_add_to_personal(spell_checker, text.toUtf8().data(), text.size()); // err=0 err = aspell_speller_add_to_session(spell_checker, text.toUtf8().data(), text.size()); // err=0 err = aspell_speller_save_all_word_lists(spell_checker); // err=1 > > Which version of aspell are you using and which OS? 0.50.3 windows 0.60.4 Linux _______________________________________________ Aspell-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-user
