unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Daniel Pfeiffer <occitan@esperanto.org>
Subject: UTF-8 and M-x shell?
Date: Sun, 8 Feb 2004 10:25:20 +0100	[thread overview]
Message-ID: <20040208102520.213b4a20.occitan@esperanto.org> (raw)

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/

             reply	other threads:[~2004-02-08  9:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-08  9:25 Daniel Pfeiffer [this message]
2004-02-08 13:33 ` UTF-8 and M-x shell? Kai Grossjohann
2004-02-08 21:09   ` Daniel Pfeiffer
2004-02-08 18:15 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040208102520.213b4a20.occitan@esperanto.org \
    --to=occitan@esperanto.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).