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: Mon, 27 Jan 2003 12:41:34 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200301250056.JAA11689@etlken.m17n.org> <2950-Sat25Jan2003200937+0200-eliz@is.elta.co.il> <1438-Sun26Jan2003190850+0200-eliz@is.elta.co.il> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1043689586 12384 80.91.224.249 (27 Jan 2003 17:46:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 27 Jan 2003 17:46:26 +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 18dDKx-0003DQ-00 for ; Mon, 27 Jan 2003 18:46:23 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18dDPF-0006pQ-00 for ; Mon, 27 Jan 2003 18:50:49 +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 18dDLq-0005A5-07 for emacs-devel@quimby.gnus.org; Mon, 27 Jan 2003 12:47:18 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18dDIU-0003zW-00 for emacs-devel@gnu.org; Mon, 27 Jan 2003 12:43:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18dDHk-0003eb-00 for emacs-devel@gnu.org; Mon, 27 Jan 2003 12:43:05 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dDGJ-00031n-00 for emacs-devel@gnu.org; Mon, 27 Jan 2003 12:41:35 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18dDGI-0007if-00; Mon, 27 Jan 2003 12:41:34 -0500 Original-To: Eli Zaretskii In-reply-to: <1438-Sun26Jan2003190850+0200-eliz@is.elta.co.il> 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:11136 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11136 Does it really have to be more reliable than what we do with users' precious files? Since it can easily be 100% reliable, it should be. In any case, at least we should IMHO consider whether getenv and setenv need to decode and encode the environment variables' values. That's exactly what I've suggested. That can do the user-level part of this job in a way that cannot interfere with inheritance. I recommend using locale-coding-system. > Therefore we have to leave these strings in their original format. If this is the final decision, we probably should tell Lisp programmers (in the ELisp manual) how to deal with such unibyte strings in text processing. That is a good idea too. It shouldn't take much text to do this.