From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: ispell.el and multilanguage lines.
Date: Tue, 8 Mar 2016 00:10:38 +0300 [thread overview]
Message-ID: <56DDEE4E.9010806@gmail.com> (raw)
In-Reply-To: <8337s2utt5.fsf@gnu.org>
Utf-8 does not work for cyrillics in cmd.exe by default. Hunspell first
signals conversion error, then exits the moment you enter any input in it:
C:\>chcp 65001
Active code page: 65001
C:\>hunspell -a "" -d ru_RU -i utf-8
error - iconv_open: KOI8-R -> CP65001
error - iconv_open: KOI8-R -> CP65001
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
тестовоеслово
C:\>hunspell -a "" -d ru_RU -i utf-8
error - iconv_open: KOI8-R -> CP65001
error - iconv_open: KOI8-R -> CP65001
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
testword
*
But the problem is not with utf-8 itself - it works in general from bash
and emacs. It's only those russian words that were entered to personal
dictionary fail to get read correctly.
You can start hunspell with utf-8 in bash, insert a russian and an
english word to a dictionary. Exit hunspell, start again in bash,
english word would pass, russian would fail. Start 1251 cmd, both words
would pass.
--
Best Regards,
Nikolay Kudryavtsev
next prev parent reply other threads:[~2016-03-07 21:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-15 23:14 ispell.el and multilanguage lines Nikolay Kudryavtsev
2015-12-16 3:37 ` Eli Zaretskii
2016-03-07 1:18 ` Nikolay Kudryavtsev
2016-03-07 16:38 ` Eli Zaretskii
2016-03-07 21:10 ` Nikolay Kudryavtsev [this message]
2016-03-07 21:17 ` Eli Zaretskii
2016-03-07 22:03 ` Nikolay Kudryavtsev
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=56DDEE4E.9010806@gmail.com \
--to=nikolay.kudryavtsev@gmail.com \
--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).