From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: environment variable don't get coding conversion Date: Sun, 26 Jan 2003 19:11:30 +0300 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1659-Sun26Jan2003191130+0200-eliz@is.elta.co.il> References: <200301170613.PAA12807@etlken.m17n.org> <200301200038.JAA16159@etlken.m17n.org> <200301252205.h0PM5gsx029853@beta.mvs.co.il> <84r8b07z30.fsf@lucy.is.informatik.uni-duisburg.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1043601224 12616 80.91.224.249 (26 Jan 2003 17:13:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2003 17:13:44 +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 18cqLg-0003H5-00 for ; Sun, 26 Jan 2003 18:13:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18cqPU-0001Ff-00 for ; Sun, 26 Jan 2003 18:17:32 +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 18cqMo-0005c0-0B for emacs-devel@quimby.gnus.org; Sun, 26 Jan 2003 12:14:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18cqLp-0005Ec-00 for emacs-devel@gnu.org; Sun, 26 Jan 2003 12:13:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18cqLh-0004th-00 for emacs-devel@gnu.org; Sun, 26 Jan 2003 12:13:41 -0500 Original-Received: from bilbo.inter.net.il ([192.114.186.18]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18cqLg-0004ow-00 for emacs-devel@gnu.org; Sun, 26 Jan 2003 12:13:36 -0500 Original-Received: from zaretsky ([80.230.234.38]) by bilbo.inter.net.il (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id AEA10507; Sun, 26 Jan 2003 19:13:27 +0200 (IST) Original-To: kai.grossjohann@uni-duisburg.de X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <84r8b07z30.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de) 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:11094 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11094 > From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) > Date: Sun, 26 Jan 2003 15:41:39 +0100 > > I guess the most important question is: which coding system is used > for values of environment variables? Something locale-dependent, I guess. We could also try guessing the encoding, since a typical process environment is a substantial chunk of text (so a probability of an error is not very high, I think). > And what happens if you do (setenv foo bar) and bar is a string which > can't be encoded in the coding system specified for environment > variables? How is this different from hitting the same problem inside write-region or save-buffer?