[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation mode output is badly displayed
From: |
Francis Moreau |
Subject: |
Re: Compilation mode output is badly displayed |
Date: |
Wed, 30 Jan 2008 09:28:14 +0100 |
On Jan 29, 2008 9:47 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 29.01.2008 um 12:51 schrieb Francis Moreau:
>
> > Can anyone help me to sort this out ?
>
>
> These typographic quotes come from GCC: can you try to put it into an
> 8- or 7-bit environment, like in:
>
> env LC_CTYPE=FR_fr.ISO8859-15 make -k ...
It works fine
> env LANG=FR_fr.ISO8859-15 make -k ...
It works fine
> env LANG=FR_fr.ISO8859-15 LC_CTYPE=FR_fr.ISO8859-15 make -k ...
It works fine
>
> There must be a reason why GCC emits these typographic quotes. I am
> sure outside an UTF-8 based environment GCC won't emit those Unicode
> characters ...
>
>From a shell:
$ echo $LANG
en_US.UTF-8
$ echo $LC_CTYPE
So it seems the reason why GCC emits UTF-8 encoding.
That said why doesn't Emacs notice the UTF-8 environment too ? It could
switch automatically to UTF-8 in this case ?
Thanks
--
Francis