From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: environment variable don't get coding conversion Date: Fri, 17 Jan 2003 19:46:31 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200301170613.PAA12807@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042850923 24956 80.91.224.249 (18 Jan 2003 00:48:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2003 00:48:43 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ZhA9-0006UO-00 for ; Sat, 18 Jan 2003 01:48:41 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18ZhJp-00044t-00 for ; Sat, 18 Jan 2003 01:58:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ZhBG-0001X7-02 for emacs-devel@quimby.gnus.org; Fri, 17 Jan 2003 19:49:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Zh8Y-00005P-00 for emacs-devel@gnu.org; Fri, 17 Jan 2003 19:47:02 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Zh8G-00087I-00 for emacs-devel@gnu.org; Fri, 17 Jan 2003 19:46:47 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Zh83-0007aa-00 for emacs-devel@gnu.org; Fri, 17 Jan 2003 19:46:31 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18Zh83-0000pl-00; Fri, 17 Jan 2003 19:46:31 -0500 Original-To: Kenichi Handa In-reply-to: <200301170613.PAA12807@etlken.m17n.org> (message from Kenichi Handa on Fri, 17 Jan 2003 15:13:21 +0900 (JST)) Original-cc: d.love@dl.ac.uk X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10821 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10821 It seems to me that elements of process-environment should be decoded by locale-coding-system because process-environment is exposed to Emacs Lisp, and there are codes that directly manipulate that variable. We would have to encode them again when running a subprocess. I think that could have the effect of altering the values, so that they are not passed down properly from Emacs's parent process to its children. It might be better for user programs to decode the values if they want to.