Re: How to add russian word to personal dict?

"CHirkov I.N. 019-0834" <[email protected]>
Newsgroups gmane.comp.gnu.aspell.user,gmane.spam.detected
Message-ID <elmo1155829499270951903037914@xxx>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.