[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ispell.el and multilanguage lines.
From: |
Nikolay Kudryavtsev |
Subject: |
Re: ispell.el and multilanguage lines. |
Date: |
Tue, 8 Mar 2016 00:10:38 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
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