[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs charset in compilation (M-x compile)
From: |
Xah |
Subject: |
Re: Emacs charset in compilation (M-x compile) |
Date: |
Fri, 02 Nov 2007 12:40:18 -0700 |
User-agent: |
G2/1.0 |
you need to narrow down the prob a bit.
• does this happen in shell without involving emacs at all?
If so, first solve the probe in shell. e.g. check your local, and any
tool's support for the char set.
• if it doesn't happen in shell, but happens in emacs. Then, try to
run it with “M-x shell”. (as opposed to running “M-x compile”) If the
problem happens, then, probably because your emacs's shell env var
isn't the same as your shell. Check it...
• if it doesn't happen in M-x shell but with M-x compile, then we can
discuss further...
Xah
xah@xahlee.org
∑ http://xahlee.org/
On Nov 2, 4:49 am, gallows <g4ll...@gmail.com> wrote:
> Hi there,
>
> I have a tedious trouble when I use "compile" command, my output is
> something like this:
>
> -*- mode: compilation; default-directory: "/tmp/" -*-
> Compilation started at Fri Nov 2 12:41:16
>
> make -s foo
> foo.c: In function â\200\230mainâ\200\231:
> foo.c:5: error: â\200\230dummyâ\200\231 undeclared (first use in this
> function)
>
> My locale use UTF-8 charset. How could I resolve that?
>
> Thanks in advance,
>
> s.