From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: ispell/hunspell: Invalid coding system: iso8859-1
Date: Mon, 31 Mar 2014 05:41:24 +0300 [thread overview]
Message-ID: <83ob0nccob.fsf@gnu.org> (raw)
In-Reply-To: <fed1285b-4ed9-4796-88fc-cec48203c262@googlegroups.com>
> Date: Sun, 30 Mar 2014 12:17:48 -0700 (PDT)
> From: djc <peter.kaiser@gmail.com>
>
> I'm trying to make hunspell work in "GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)" under Win7. It must be something small, but so far I'm stumped.
>
> Hunspell is set up in the ordinary way, and I've installed several dictionaries under hunspell\share\hunspell, including en_US.aff (whose first line is "SET ISO8859-1") and en_US.dic. My initialization code includes
>
> ================
>
> (setq ispell-local-dictionary-alist
> '((nil
> "[[:alpha:]]"
> "[^[:alpha:]]"
> "[']"
> t
> ("-d" "en_US" "-p" "E:\\Util\\hunspell\\share\\hunspell\\personal.en")
> nil
> iso8859-1)
>
> ("american"
>
> "[[:alpha:]]"
> "[^[:alpha:]]"
> "[']"
> t
> ("-d" "en_US" "-p" "E:\\Util\\hunspell\\share\\hunspell\\personal.en")
> nil
> ISO8859-1)
> )
>
> ================
>
> When I explicitly set the dictionary to "american" and then invoke ispell in a buffer, it returns "Invalid coding system: iso8859-1".
>
> What have I overlooked or what have I set up wrong? Many thanks for help.
iso8859-1 is not a coding system, you want iso-8859-1 instead.
(Actually, with Hunspell you want UTF-8.)
next prev parent reply other threads:[~2014-03-31 2:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-30 19:17 ispell/hunspell: Invalid coding system: iso8859-1 djc
2014-03-31 2:41 ` Eli Zaretskii [this message]
[not found] ` <mailman.18581.1396233697.10748.help-gnu-emacs@gnu.org>
2014-03-31 13:32 ` djc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ob0nccob.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).