From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Compilation mode output is badly displayed Date: Wed, 30 Jan 2008 20:18:56 +0100 Message-ID: References: <38b2ab8a0801290351s732210f5k8a2ec2d1b26f0a7b@mail.gmail.com> <87abmnfenu.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1201720858 15159 80.91.229.12 (30 Jan 2008 19:20:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jan 2008 19:20:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sven Joachim , Francis Moreau Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 30 20:21:15 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JKIUZ-0002dZ-3T for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jan 2008 20:21:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKIU7-0000uc-Ni for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jan 2008 14:20:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKITn-0000rh-TP for help-gnu-emacs@gnu.org; Wed, 30 Jan 2008 14:20:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKITm-0000qF-AP for help-gnu-emacs@gnu.org; Wed, 30 Jan 2008 14:20:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKITm-0000px-6J for help-gnu-emacs@gnu.org; Wed, 30 Jan 2008 14:20:14 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JKITl-0005GR-Ol for help-gnu-emacs@gnu.org; Wed, 30 Jan 2008 14:20:14 -0500 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id BF705D07A8EA; Wed, 30 Jan 2008 20:18:57 +0100 (CET) Original-Received: from [195.4.204.97] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1JKISX-0002c5-00; Wed, 30 Jan 2008 20:18:57 +0100 In-Reply-To: <87abmnfenu.fsf@gmx.de> X-Mailer: Apple Mail (2.753) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/9Vptm6hBWTDzNIgSdkmPKV4qi91NwOjdpDURK CsReHV+M6AayDHJO/dRmGb10wfxbuzDhOHiXZzIE/KfFlZCgWD orhF9xSHto2qbVyneQjg== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51097 Archived-At: Am 30.01.2008 um 17:42 schrieb Sven Joachim: >> $ echo $LC_CTYPE >> >> >> So it seems the reason why GCC emits UTF-8 encoding. I don't see it ... >> >> That said why doesn't Emacs notice the UTF-8 environment too ? It =20 >> could >> switch automatically to UTF-8 in this case ? > > Normally it does, but you may have cruft in your init file that =20 > sets up > a non-UTF-8 environment. Look there for calls to > set-language-environment and standard-display-european. LC_CTYPE, the kind or type of characters used, is the most important =20 environment variable in this case. If it's not set, then everything =20 can happen. To me set-language-environment looks like an obsolete =20 call: does it change the language in which you are informed about a =20 character's, variable's, function's, or symbol's value? Is *calendar* =20= showing the legal holidays in your country in your language? If UTF-8 is not correctly or sufficiently established, then it helps =20 a bit to have a (prefer-coding-system 'utf-8) -- Greetings Pete I wouldn't recommend sex, drugs or insanity for everyone, but they've =20= always worked for me. =96 Hunter S. Thompson