[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Correct Display of UTF-8-coded Compilation Warnings/Errors inside co
Re: Correct Display of UTF-8-coded Compilation Warnings/Errors inside compilation-mode
Tue, 22 May 2007 09:53:13 +0300
> From: =?iso-8859-1?B?Tm9yZGz2dw==?= <address@hidden>
> 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.