From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: Re: cmdproxy.exe garbles special characters in environment variables Date: Mon, 25 Jun 2007 09:57:32 +0100 Message-ID: <467F837C.5050906@gnu.org> References: <467ED402.3090804@inf.fu-berlin.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1182761865 23394 80.91.229.12 (25 Jun 2007 08:57:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2007 08:57:45 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: =?ISO-8859-15?Q?G=FCnter_Rote?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 25 10:57:44 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I2kOE-0008GI-IH for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jun 2007 10:57:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2kOE-00059Y-26 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jun 2007 04:57:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2kOB-00059T-Hr for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2007 04:57:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2kO8-00057Q-TI for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2007 04:57:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2kO8-00057G-NC for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2007 04:57:36 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I2kO8-0001TV-7Z for bug-gnu-emacs@gnu.org; Mon, 25 Jun 2007 04:57:36 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 4C9275012F; Mon, 25 Jun 2007 09:57:35 +0100 (BST) User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) In-Reply-To: <467ED402.3090804@inf.fu-berlin.de> X-detected-kernel: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15993 Archived-At: G=FCnter Rote wrote: > C:\Users\G=FCnter>set userprofile > USERPROFILE=3DC:\Users\G=FCnter > > C:\Users\G=FCnter>"\Program Files\emacs-22.1\bin\cmdproxy.exe" > Microsoft Windows [Version 6.0.6000] > Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten. > What happens if you insert the following command here? C:\Users\G=FCnter> chcp 1252 > C:\Users\G=FCnter>set userprofile > USERPROFILE=3DC:\Users\G?nter I suspect you are correct that the problem lies in differing coding systems, but I don't think it is a Unicode vs "ANSI" issue, but "ANSI" vs "OEM". (I put those names in quotes because they are the names used by Microsoft to describe various codepages used by Windows, although they have nothing to do with the American National Standards Institute or Original Equipment Manufacturers).