unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
Subject: Re: "more", "ls -l", and column 80 in shell
Date: Mon, 26 Jun 2006 09:37:12 +0900	[thread overview]
Message-ID: <878xnkbvlz.fsf@catnip.gol.com> (raw)
In-Reply-To: <mailman.3321.1151276298.9609.help-gnu-emacs@gnu.org> (Peter Dyballa's message of "Mon, 26 Jun 2006 00:58:10 +0200")

Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>>> I had to prevent the colourising feature, now I actually have to
>>> turn it on actively!  GNU's ls is not that careful -- and it cannot
>>> display UTF-8 characters!
>>
>> Huh?  Neither of these things seem to be true....
>
> It is true for a *shell* buffer in GNU Emacs 22.0.50: I see ``a<empty
> box>´´ instead of ``ä´´, as in dired. In GNU Emacs 23.0.0 it all  looks
> right.

Sounds like your environment is messed up.  What do you have LANG set to?

Emacs will use LANG to try and set the correct decoding for process
output (look at the mode-line of the *shell* buffer: there should be a
"u:" at the beginning if your system is using utf-8).

Also I think (but only based on observation) that ls will only output
raw characters if they are valid in the locale named by LANG, and AFAIK,
"valid" means listed in "/etc/locale.gen".

[ I have: LANG="ja_JP.UTF-8" ]

I'm using Emacs 22.0.50 (of a week or so ago) too.

-Miles
-- 
A zen-buddhist walked into a pizza shop and
said, "Make me one with everything."

  parent reply	other threads:[~2006-06-26  0:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-15 22:44 "more", "ls -l", and column 80 in shell RjjdBae
2006-06-15 23:46 ` Barry Margolin
2006-06-16  6:48   ` Tim X
2006-06-16 14:42 ` RjjdBae
2006-06-17  6:58   ` Tim X
2006-06-25  0:24     ` David Combs
2006-06-25  2:39       ` Tim X
2006-06-25  8:45         ` Peter Dyballa
2006-06-17  8:18   ` Peter Dyballa
     [not found]   ` <mailman.2970.1150533187.9609.help-gnu-emacs@gnu.org>
2006-06-25  0:30     ` David Combs
2006-06-25  8:35       ` Peter Dyballa
     [not found]       ` <mailman.3300.1151224578.9609.help-gnu-emacs@gnu.org>
2006-06-25  9:42         ` Tim X
2006-06-25 15:30           ` Peter Dyballa
     [not found]           ` <mailman.3306.1151249429.9609.help-gnu-emacs@gnu.org>
2006-06-25 21:44             ` Miles Bader
2006-06-25 22:58               ` Peter Dyballa
     [not found]               ` <mailman.3321.1151276298.9609.help-gnu-emacs@gnu.org>
2006-06-26  0:37                 ` Miles Bader [this message]
2006-06-26  8:33                   ` Peter Dyballa

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=878xnkbvlz.fsf@catnip.gol.com \
    --to=miles@gnu.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).