From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11673 invoked by alias); 6 Jan 2009 21:26:17 -0000 Received: (qmail 11663 invoked by uid 22791); 6 Jan 2009 21:26:16 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_05,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Jan 2009 21:26:11 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n06LPaYV021334; Tue, 6 Jan 2009 22:25:36 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n06LPZUc011511; Tue, 6 Jan 2009 22:25:36 +0100 (CET) Date: Tue, 06 Jan 2009 21:26:00 -0000 Message-Id: <200901062125.n06LPZUc011511@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: brobecker@adacore.com, gdb@sourceware.org, ludo@gnu.org In-reply-to: (message from Eli Zaretskii on Tue, 06 Jan 2009 22:34:22 +0200) Subject: Re: "coding: utf-8" emacs local variable in ChangeLog (?) References: <20090103061325.GB31571@adacore.com> <200901031022.n03AMq5c027637@brahms.sibelius.xs4all.nl> <200901032356.n03NuSbX005424@brahms.sibelius.xs4all.nl> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-01/txt/msg00025.txt.bz2 > Date: Tue, 06 Jan 2009 22:34:22 +0200 > From: Eli Zaretskii > > > Date: Sun, 4 Jan 2009 00:56:28 +0100 (CET) > > From: Mark Kettenis > > CC: brobecker@adacore.com, gdb@sourceware.org, ludo@gnu.org > > > > > > I can see why Ludovic wants to have his name spelled properly, but > > > > he should realize it'll look like "Ludovic Court?\203?is" to many > > > > people. > > > > > > Not if they use Emacs. > > > > What do you think I'm using? Ok, that's in emacs running in screen > > running in an xterm, and those question marks are really some funny > > looking character that I wouldn't know how to type. > > "C-u C-x =" will spell what is that character, and there's > latin1-disp.el that can display quite a few of these characters even > on a text terminal. This is what C-u C-x says about the funny character in Ludo's name: character: Ã (0303, 195, 0xc3) charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF)) code point: 195 syntax: whitespace category: buffer code: 0xC3 file code: 0xC3 (encoded by coding system raw-text-unix) terminal code: not encodable > > But even if I look at the 2007 ChangeLog with emacs running as an X > > application Ludo's last name shows up with that funny capital A with > > a tiled and " after it. I'm fairly sure that's not right. > > That's _exactly_ the reason to add the `coding' cookie: you were > looking at what happens when Emacs tries to interpret a utf-8 encoded > text as if it were Latin-1 (or maybe Latin-9) encoded. Now, after the > cookie was added, I see Ludo's name displayed correctly. I'm not saying that adding the `coding' cookie is a problem. I'm arguing that turning ChangeLog into a UTF-8 encoded file was a bad decision, since there are enough systems where it will not be properly displayed.