all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Correct Display of UTF-8-coded Compilation Warnings/Errors inside compilation-mode
Date: Tue, 22 May 2007 09:53:13 +0300	[thread overview]
Message-ID: <u7ir1l57q.fsf@gnu.org> (raw)
In-Reply-To: <1179789955.603466.290620@b40g2000prd.googlegroups.com> (message from Nordlöw on 21 May 2007 16:25:55 -0700)

> From: =?iso-8859-1?B?Tm9yZGz2dw==?= <per.nordlow@gmail.com>
> Date: 21 May 2007 16:25:55 -0700
> 
> I am using the locale sv_SE.UTF-8 so GCC speaks my mother-tongue to
> me, which is very nice.
> 
> How do I make compilation-mode read and respect this locale when I
> compile from within emacs, inside compilation-mode? My installation
> (latest CVS version of Emacs) interprets it iso-latin-1.

That's strange, I think Emacs should use UTF-8 by default in your
locale.  What is the value of default-buffer-file-coding-system?
Also, does this behavior of M-x compile change in any way if you
invoke Emacs with "emacs -Q"?

> I guess we should use the result of (getenv "LANG") to somehow setup
> the buffer-file-coding system.

Emacs already does that at startup.

  parent reply	other threads:[~2007-05-22  6:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-21 23:25 Correct Display of UTF-8-coded Compilation Warnings/Errors inside compilation-mode Nordlöw
2007-05-22  1:34 ` Pascal Bourguignon
2007-05-22  6:54   ` Eli Zaretskii
2007-05-22  6:53 ` Eli Zaretskii [this message]
2007-05-22  9:14 ` Peter Dyballa
     [not found] ` <mailman.968.1179825269.32220.help-gnu-emacs@gnu.org>
2007-05-22 12:31   ` Nordlöw
2007-05-22 14:16   ` Nordlöw

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

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

  git send-email \
    --in-reply-to=u7ir1l57q.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.