unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <btraven@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: problems displaying utf-8-characters after reload
Date: Tue, 02 Oct 2012 18:17:18 -0500	[thread overview]
Message-ID: <k4fslu014h6@news6.newsguy.com> (raw)
In-Reply-To: <mailman.9672.1348520546.855.help-gnu-emacs@gnu.org>

Die Mon Sep 24 2012 16:02:15 GMT-0500 (Central Daylight Time) Eli
Zaretskii <eliz@gnu.org> scripsit:

>> Date: Mon, 24 Sep 2012 12:23:41 -0700 (PDT)
>> From: LanX <lanx.perl@googlemail.com>
>>
>> I was able to reproduce the problem with that special file using emacs -Q.
>>
>> describe-coding-system shows utf-8-unix
>>
>> Any ideas what to do?
> 
> "C-x RET c latin-1 RET C-x C-f"
> 
> Or if want Emacs to do this automatically, put a 'coding:' cookie in
> the file.
> 


This has always worked for me. I don't think there is a bug but there is
a residual mystery:

Why aren't the following exactly synonymous (as the descriptions would
lead us to believe):

C-x RET c latin-1 RET C-x C-f
C-x RET f latin-1 RET

I've found that the second one doesn't always work.

Btw, the coding cookie is:

;; -*- coding: utf-8 -*-

in first line or first eight lines of file, I can't remember which.

Ed


  parent reply	other threads:[~2012-10-02 23:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24 19:23 problems displaying utf-8-characters after reload LanX
2012-09-24 20:18 ` Peter Dyballa
2012-09-24 21:02 ` Eli Zaretskii
     [not found] ` <mailman.9672.1348520546.855.help-gnu-emacs@gnu.org>
2012-10-02 23:17   ` B. T. Raven [this message]
2012-10-03  3:49     ` Eli Zaretskii
2012-10-03  7:09       ` Andreas Röhler
2012-10-03 17:22         ` Eli Zaretskii
2012-10-03 19:34           ` Andreas Röhler
2012-10-04  5:41           ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=k4fslu014h6@news6.newsguy.com \
    --to=btraven@nihilo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).