From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Pfeiffer Newsgroups: gmane.emacs.help Subject: UTF-8 and M-x shell? Date: Sun, 8 Feb 2004 10:25:20 +0100 Organization: T-Online Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040208102520.213b4a20.occitan@esperanto.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1076232735 29813 80.91.224.253 (8 Feb 2004 09:32:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2004 09:32:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 08 10:32:11 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AplIR-0006bt-00 for ; Sun, 08 Feb 2004 10:32:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AplGy-00087P-Dq for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Feb 2004 04:30:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: news.t-online.com 1076232226 07 24781 pCLHGX+r5lPYKfb 040208 09:23:46 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: b-zSsyZc8ecsbE4-SBwOnK7itjiWA-FudJ3AbAsRGJ-O21ywSx1hrY X-Newsreader: Sylpheed version 0.9.4claws (GTK+ 1.2.10; i686-suse-linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:120758 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16706 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16706 Hi, I'm migrating my Gnu/Linux to LANG=de_DE.UTF-8 and finding that I need to recode my old Latin-9 filenames. But now Gnu Emacs (2-3 weeks old CVS) M-x shell gets problems. First off, the buffer still comes up in Latin-1. That can apparently be fixed with (set-language-environment "utf-8"), but only interactively, not in .emacs.el! But it doesn't help: - M-! umlaut-emitting-command displays old (1-byte) umlauts as octal and utf-8 correctly - but with the same commands in the shell buffer, with mode-line u:, it still displays everything as one-byte. What must I do for M-x shell to respect $LANG, like an xterm? (Btw. before I had LANG=de_DE@euro, which is Latin-9, but Emacs wrongly defaulted to Latin-1 -- which luckily is quite similar.) best regards Daniel -- learn Esperanto: http://lernu.net/