Dne pá 18. února 2005 19:00 Mashrab Kuvatov napsal(a): > Hi Lukáš, > > first of all thanks for looking at the issue. Waldo, thanks too. > > On Friday 18 February 2005 13:29, Lukáš Tinkl wrote: > > Hmmm, unfortunate situation... Mashrab's patch breaks with older aspells, > > that's what I feared. Furthermore, KSpell+ASpell5 currently can't cope > > with any utf8 text at all. Attached patch fixes that. > > To my knowledge (correct me if I'm wrong) neither Aspel < 0.60 nor Ispell > supports utf8 spellchecking, they treat input/output in 8-bit encoding. > That's why, actually, I was surprised to see UTF-8 in a list of encodings > of control center. One could argue that it is possible to pass > --encoding=utf8 to Aspell-0.50, but from the documentation of Aspell-0.50 > [1] > > encoding > (string) The encoding the input text is in. Valid values are ``utf-8'', > ``iso8859-*'', ``koi8-r'', ``viscii'', ``cp1252'', ``machine unsigned 16'', > ``machine unsigned 32''. However, the aspell utility will currently only > function correctly with 8-bit encodings. I hope to provide utf-8 support in > the future. > > > What spellchecker are you using? If Ispell, are you sure it is not a > wrapper around Aspell (some distros dropped Ispell)? If you do not have > Aspell-0.60, how do you spellcheck utf8 texts (like you said Aspell-0.50 > cannot do that)? lukas@goblin:~> aspell --version @(#) International Ispell Version 3.1.20 (but really Aspell 0.50.5) And yes, my aspell does support utf8 correctly, the comment is perhaps wrong and has probably been added in an earlier version; ispell doesn't seem to support utf8 at all. I said KSpell (with ASpell) couldn't check UTF-8 text. -- Lukáš Tinkl KDE developer Once, adv.: Enough. -- Ambrose Bierce, "The Devil's Dictionary"