From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: Re: environment variable don't get coding conversion Date: Fri, 17 Jan 2003 15:13:21 +0900 (JST) Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200301170613.PAA12807@etlken.m17n.org> 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: main.gmane.org 1042784030 9494 80.91.224.249 (17 Jan 2003 06:13:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2003 06:13:50 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ZPlD-0002T0-00 for ; Fri, 17 Jan 2003 07:13:47 +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 18ZPm1-00065Y-04 for gnu-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2003 01:14:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ZPlr-0005rT-00 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2003 01:14:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ZPlY-0005ac-00 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2003 01:14:10 -0500 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ZPkx-00044G-00 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2003 01:13:32 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h0H6DLk24329; Fri, 17 Jan 2003 15:13:21 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h0H6DLR18198; Fri, 17 Jan 2003 15:13:21 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id PAA12807; Fri, 17 Jan 2003 15:13:21 +0900 (JST) Original-To: d.love@dl.ac.uk In-reply-to: (message from Dave Love on 16 Jan 2003 12:05:41 +0000) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4229 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4229 In article , Dave Love writes: > Non-ASCII environment variables aren't useful because no coding > conversion is done on them. I guess the environment should be kept > encoded, and setenv and getenv should be changed to convert through > `locale-coding-system'. 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. --- Ken'ichi HANDA handa@m17n.org