From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Fcall_process: wrong conversion Date: Thu, 18 May 2006 15:26:54 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1147933639 14192 80.91.229.2 (18 May 2006 06:27:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 May 2006 06:27:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 18 08:27:14 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fgbyb-0000sA-Vy for ged-emacs-devel@m.gmane.org; Thu, 18 May 2006 08:27:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fgbya-0001iR-QZ for ged-emacs-devel@m.gmane.org; Thu, 18 May 2006 02:27:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FgbyO-0001h8-5Z for emacs-devel@gnu.org; Thu, 18 May 2006 02:27:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FgbyM-0001gq-Eh for emacs-devel@gnu.org; Thu, 18 May 2006 02:26:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgbyM-0001gn-An for emacs-devel@gnu.org; Thu, 18 May 2006 02:26:58 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fgc1N-0003g9-QY for emacs-devel@gnu.org; Thu, 18 May 2006 02:30:06 -0400 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4I6QteH029717; Thu, 18 May 2006 15:26:55 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4I6QtbA015572; Thu, 18 May 2006 15:26:55 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FgbyI-0007ds-00; Thu, 18 May 2006 15:26:54 +0900 Original-To: "Herbert Euler" In-reply-to: (herberteuler@hotmail.com) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54690 Archived-At: In article , "Herbert Euler" writes: >> > For unifying character encodings? >> >> I don't understand the meaning of "unifying character >> encodings". > I meant to make encoding for arguments and file the same. I see. >> > I.e. if the file is in japanese-shift-jis, but command argument is in >> > chinese-gbk, encoding arguments will make sure all characters are in >> > japanese-shift-jis, won't it? >> >> I don't understand what "if ..." part actually means. Who >> makes command argument in chinese-gbk? > For example, I wrote a lisp command which uses `call-process' and > contains characters in chinese-gbk as arguments. I meant, when > I apply this command to a japanese-shift-jis file, `call-process' will > encode the chinese-gbk characters to japanese-shift-jis in background, > won't it? It's hard to understand what you mean. What do you mean by "apply this command to ... file"? Does it mean that you give the file name to call-process as INFILE argument? But, how does it result in "encode the chinese-gbk characters to japanese-shift-jis"? Emacs doesn't detect the encoding of INFILE. So how does Emacs know about `japanese-shift-jis' first of all? And first of all, CVS Emacs doesn't have chinese-gbk coding system. Are you talking about the behavior of emacs-unicode-2? --- Kenichi Handa handa@m17n.org