From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.help Subject: Re: ispell.el and multilanguage lines. Date: Tue, 8 Mar 2016 00:10:38 +0300 Message-ID: <56DDEE4E.9010806@gmail.com> References: <56709EF2.2080302@gmail.com> <83y4cv12tr.fsf@gnu.org> <56DCD6DC.60503@gmail.com> <8337s2utt5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1457385108 11523 80.91.229.3 (7 Mar 2016 21:11:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2016 21:11:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 07 22:11:48 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ad2RO-0001XO-J8 for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2016 22:11:46 +0100 Original-Received: from localhost ([::1]:58614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad2RN-0003T5-V8 for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2016 16:11:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad2R7-0003Qt-E6 for help-gnu-emacs@gnu.org; Mon, 07 Mar 2016 16:11:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ad2R2-0007fG-Fc for help-gnu-emacs@gnu.org; Mon, 07 Mar 2016 16:11:29 -0500 Original-Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:33939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad2R2-0007f9-7Z for help-gnu-emacs@gnu.org; Mon, 07 Mar 2016 16:11:24 -0500 Original-Received: by mail-lb0-x22b.google.com with SMTP id xr8so49110693lbb.1 for ; Mon, 07 Mar 2016 13:11:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=J9ctuoU8VQPQ+hICklTeg8L46V5HTPKxkMmw6gcV2gw=; b=dmne4pW0jlYQcIbmUxkKFpZz1IhOIWh63iBxeP83hCJlREeqBgZBG8Hx9JWy0uca89 ji7mrdRQMpw+4Rql7TSxmW8swaIq/PorzXdXJ2g+UC77N5OI7PtQ35iE7M4g3VF2Pl/A +TE7pID3YVHxrw7+/mtObf/4h5AoXXNyW26++Q+q6Y+GZdpa4NdHuXU2Pel2L3lfztmk tCeTnS3Tw1B6rITmoGUzbX2VyHxaHJg+qUgzUS591JXLYB6h7LofOUfYPfJ8fPWoz4B1 +oM/c2br0PxbatdZRggFaqkqO7SkQGK9pV6T+t67tVQqpAPO1BUyUKzNsmtgkmTk/6j8 luTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=J9ctuoU8VQPQ+hICklTeg8L46V5HTPKxkMmw6gcV2gw=; b=LT/miYZidkECUI6c8+2QU4YheBBB3ISm/I3w9tCBCkszVgR+ZGBReGnl3O0fpe3nMO +hJjdll4jCb578axeAtlb2Be1H9Co49e8FItBhZl4Y05o7i+RTJvaqSPHNxD4ZATO51B b9XSq9JzVnp6XoNWTRXunq45yLCzz3YA6ZzVnHUOjDZOKwUZjp1NvnqWbAKCr2GAG/+6 pYqExY6ClqdcbQqsEzHEzDJTVrIhjpb/m8An0jPo0JokUv/NeFOMe+y6X2zbs/kEL8pM gYpOyf44RST80y5XN85gh69zn3+1+JCql0+YhxH2OAFJLVKRF0CQ+8uhPUcHz1iG027m JVHA== X-Gm-Message-State: AD7BkJL0iOjm8qPSOmg2v8QvHv/sjcXF8uuMzLTG5FngW+tRyqM+7WxEhD3EyynGiTwgKQ== X-Received: by 10.25.167.74 with SMTP id q71mr8541575lfe.24.1457385083508; Mon, 07 Mar 2016 13:11:23 -0800 (PST) Original-Received: from [192.168.199.2] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by smtp.gmail.com with ESMTPSA id wj2sm3034099lbb.5.2016.03.07.13.11.22 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2016 13:11:22 -0800 (PST) X-Google-Original-From: Nikolay Kudryavtsev User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <8337s2utt5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::22b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109507 Archived-At: 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