This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: "coding: utf-8" emacs local variable in ChangeLog (?)
> Date: Wed, 07 Jan 2009 06:18:55 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Tue, 6 Jan 2009 23:46:58 +0100 (CET)
> > From: Mark Kettenis <mark.kettenis@xs4all.nl>
> > CC: brobecker@adacore.com, gdb@sourceware.org, ludo@gnu.org
> >
> > > Date: Tue, 06 Jan 2009 23:59:29 +0200
> > > From: Eli Zaretskii <eliz@gnu.org>
> > >
> > > > Date: Tue, 6 Jan 2009 22:25:36 +0100 (CET)
> > > > From: Mark Kettenis <mark.kettenis@xs4all.nl>
> > > > CC: brobecker@adacore.com, gdb@sourceware.org, ludo@gnu.org
> > > >
> > > > 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))
> > >
> > > That's again because your defaults are set to interpret this as
> > > something other than UTF-8.
> >
> > They're not. This is on a standard emacs 21.4 and there is *nothing*
> > in my .emacs that doesn't touch anything related to 'coding'.
>
> In which case Emacs uses your locale to set up things. I'm guessing
> that your locale is not a UTF-8 one, probably Latin-1 or Latin-9?
I'm using the locale that <deity> intended to be used on a UNIX
system: the "C" locale ;).
> > > > 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.
> > >
> > > And I'm arguing that adding the coding cookie will cause this to be
> > > displayed properly in Emacs.
> >
> > Obviously that is not true on all systems.
>
> "Obviously"? You mean, Ludo's name is not displayed correctly on your
> system even after the `coding' cookie was added?
Yes, that's what I have been trying to tell you in the last couple of mails.