From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ohki@gssm.otsuka.tsukuba.ac.jp Newsgroups: gmane.emacs.bugs Subject: bug#22815: 25.0.91; emacs-module.* Date: Fri, 26 Feb 2016 18:16:05 +0900 Message-ID: <5098.1456478165@smr00> References: <83lh67et0e.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii X-Trace: ger.gmane.org 1456478244 12352 80.91.229.3 (26 Feb 2016 09:17:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 09:17:24 +0000 (UTC) Cc: Atsuo Ohki , 22815@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 10:17:14 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 1aZEWQ-00051R-4o for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 10:17:14 +0100 Original-Received: from localhost ([::1]:48280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEWP-0002Jj-KE for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 04:17:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEWJ-0002Gu-H4 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:17:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZEWE-0006K9-R4 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:17:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEWE-0006Jn-Cn for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZEWE-0002TV-5t for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ohki@gssm.otsuka.tsukuba.ac.jp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 09:17:02 +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.14564781749445 (code B ref 22815); Fri, 26 Feb 2016 09:17:02 +0000 Original-Received: (at 22815) by debbugs.gnu.org; 26 Feb 2016 09:16:14 +0000 Original-Received: from localhost ([127.0.0.1]:46869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZEVS-0002SG-BR for submit@debbugs.gnu.org; Fri, 26 Feb 2016 04:16:14 -0500 Original-Received: from utogwpl.gssm.otsuka.tsukuba.ac.jp ([210.154.96.162]:59503) by debbugs.gnu.org with smtp (Exim 4.84) (envelope-from ) id 1aZEVQ-0002Ru-9A for 22815@debbugs.gnu.org; Fri, 26 Feb 2016 04:16:13 -0500 Original-Received: (qmail 8938 invoked from network); 26 Feb 2016 09:16:05 -0000 Original-Received: from OneOfLocalMachines (HELO ohki1.gssm.otsuka.tsukuba.ac.jp) (10.2.1.1) by 10.1.1.1 with SMTP; 26 Feb 2016 09:16:05 -0000 Original-Received: from smr00 (localhost [127.0.0.1]) by ohki1.gssm.otsuka.tsukuba.ac.jp (8.15.2/8.14.9) with ESMTP id u1Q9G5qZ005099; Fri, 26 Feb 2016 18:16:05 +0900 (JST) (envelope-from ohki@gssm.otsuka.tsukuba.ac.jp) In-reply-to: Your message of "Fri, 26 Feb 2016 11:10:57 +0200" <83lh67et0e.fsf@gnu.org> X-Mailer: MH-E 8.6; MH 6.8.4.JP-3.05; GNU Emacs 24.5.1 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:113863 Archived-At: Eli Zaretskii writes: > > From: Atsuo Ohki > > Date: Fri, 26 Feb 2016 16:28:09 +0900 > > > > This is not a bug report, but feature enhancemnt for emacs-module.* > > > > API of emacs-module has two Lisp string related functions, > > `copy_string_contents' and `make_string'. > > Those functions assume UTF-8 encoded strings, > > but it becomes flexible if a user can specify a specific encoding. > > Thanks. > > 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.