[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs charset in compilation (M-x compile)
From: |
gallows |
Subject: |
Re: Emacs charset in compilation (M-x compile) |
Date: |
Sat, 03 Nov 2007 05:02:24 -0700 |
User-agent: |
G2/1.0 |
On 2 Nov, 22:01, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 02.11.2007 um 12:49 schrieb gallows:
>
> > 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?
>
> Is the *compilation* buffer in UTF-8, too? Starting at the left with
> ``-u:%*- *compilation*´´?
>
> What you see is the three bytes that make the UTF-8 representation of
> the typographical quotes '', i.e. #xE2 #x80 #x98, #xE2 #x80 #x99.
> Could be a
>
> (prefer-coding-system 'utf-8)
>
> is just missing in ~/.emacs ... or some customisation for compilation
> mode!
>
I found an error in my ~/.emacs, there was a '(current-language-
environment "Latin-1")', which was obviously incorrect for my env
setup. Now it's okay and works smoothly.
Thanks,
s.