From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22815: 25.0.91; emacs-module.* Date: Fri, 26 Feb 2016 11:46:38 +0200 Message-ID: <83d1rjercx.fsf@gnu.org> References: <83lh67et0e.fsf@gnu.org> <5098.1456478165@smr00> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456480041 9127 80.91.229.3 (26 Feb 2016 09:47:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 09:47:21 +0000 (UTC) Cc: 22815@debbugs.gnu.org To: ohki@gssm.otsuka.tsukuba.ac.jp Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 10:47:11 2016 Return-path: Envelope-to: geb-bug-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 1aZEzO-0005Xa-St for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 10:47:11 +0100 Original-Received: from localhost ([::1]:48443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEzO-0007wu-Em for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 04:47:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEzH-0007sn-05 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:47:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZEzG-0007qF-7M for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:47:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEzG-0007q9-4M for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZEzF-0003Cg-Vr for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 09:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22815-submit@debbugs.gnu.org id=B22815.145648001512301 (code B ref 22815); Fri, 26 Feb 2016 09:47:01 +0000 Original-Received: (at 22815) by debbugs.gnu.org; 26 Feb 2016 09:46:55 +0000 Original-Received: from localhost ([127.0.0.1]:46908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZEz9-0003CL-Gv for submit@debbugs.gnu.org; Fri, 26 Feb 2016 04:46:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38519) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZEz7-0003C4-Nk for 22815@debbugs.gnu.org; Fri, 26 Feb 2016 04:46:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZEyy-0007li-Mr for 22815@debbugs.gnu.org; Fri, 26 Feb 2016 04:46:48 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEyy-0007ld-JM; Fri, 26 Feb 2016 04:46:44 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2059 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZEyx-0004rB-MN; Fri, 26 Feb 2016 04:46:44 -0500 In-reply-to: <5098.1456478165@smr00> (ohki@gssm.otsuka.tsukuba.ac.jp) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113869 Archived-At: > From: ohki@gssm.otsuka.tsukuba.ac.jp > Cc: Atsuo Ohki , 22815@debbugs.gnu.org > Date: Fri, 26 Feb 2016 18:16:05 +0900 > > > But why cannot the module convert the string to UTF-8 before passing > > it to Emacs? > > Because, an external module could use a coding system other then UTF-8. > I have used emacs-module capability to plugin CANNA server interface > (CANNA server is a rather out of dated KANA-KANJI converter for japanese), > and CANNA server uses euc-jp encoding for communication. I was asking why couldn't the plug-in do the conversion, e.g., by using libiconv? Emacs is not the only piece of software that knows how to convert from one encoding to another.