Still cannot get ispell working with russian in emacs22 (hardy). I have emacs tuned to use aspell:
(custom-set-variables '(current-language-environment "UTF-8") '(default-input-method "russian-computer") '(x-select-enable-clipboard t) )
(set-input-method "russian-computer" nil)
(setq-default ispell-program-name "aspell") (setq ispell-dictionary "russian") (setq flyspell-default-dictionary "russian") (setq ispell-local-dictionary "russian")
When I do M-x ispell-buffer I get message "Spell-checking using aspell with russian dictionary done", but it found no mistakes.
I did strace of emacs and found the possible cause: it calls
execve("/usr/bin/aspell", ["/usr/bin/aspell", "-a", "-m", "-d", "russian", "--encoding=koi8-r"], [/* 35 vars */]) = 0
, this is wrong if we use UTF-8.
Still cannot get ispell working with russian in emacs22 (hardy). I have emacs tuned to use aspell:
(custom- set-variables language- environment "UTF-8") input-method "russian-computer") enable- clipboard t)
'(current-
'(default-
'(x-select-
)
(set-input-method "russian-computer" nil)
(setq-default ispell-program-name "aspell") default- dictionary "russian") local-dictionar y "russian")
(setq ispell-dictionary "russian")
(setq flyspell-
(setq ispell-
When I do M-x ispell-buffer I get message "Spell-checking using aspell with russian dictionary done", but it found no mistakes.
I did strace of emacs and found the possible cause: it calls
execve( "/usr/bin/ aspell" , ["/usr/bin/aspell", "-a", "-m", "-d", "russian", "--encoding= koi8-r" ], [/* 35 vars */]) = 0
, this is wrong if we use UTF-8.