Does anyone have a working setup for hunspell
and Emacs
? Simply setting ispell-program-name
to hunspell
doesn't work, the output (when using flyspell, for example) looks like below:
-> UTF-8 encoding error. Missing continuation byte in 0. character position: - 9631: word not found
(my files are usually encoded in UTF-8)
I've seen a few different setups, but they've all failed in one way or another. If the encoding works like it should it usually has problems finding the right dictionary.
Anyone with a working solution? It would be nice to be able to switch between two dictionaries (the default should be the swedish dictionary, and the secondary english), but having anything running would be even better.