all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: coding problem char \217 etc
Date: Fri, 16 Nov 2018 10:33:17 -0500	[thread overview]
Message-ID: <jwva7m93ura.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: 8336s1ukp9.fsf@gnu.org

> One way of avoiding the manual specification of the encoding is to use
> the coding: tag inside the file, either on the first line or in the
> file-local variables.

Note that in his examples he has:

    \usepackage[latin1]{inputenc} 

which Emacs normally recognizes the indicate that the file uses latin-1
(which is actually a lie in this case, tho that lie might only affect
comments, so it's not a complete lie).

Nowadays, the better bet is to use utf-8 (which is is much easier to
auto-detect and doesn't have umpteen extensions like latin-1 has).


        Stefan




  parent reply	other threads:[~2018-11-16 15:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-16 13:57 coding problem char \217 etc Uwe Brauer
2018-11-16 14:28 ` Andreas Schwab
2018-11-16 15:36   ` Uwe Brauer
2018-11-16 15:46     ` Andreas Schwab
2018-11-16 15:05 ` Eli Zaretskii
2018-11-16 15:22   ` Eli Zaretskii
2018-11-16 15:33   ` Stefan Monnier [this message]
2018-11-16 15:58     ` Uwe Brauer
2018-11-16 15:36   ` Uwe Brauer
2018-11-16 15:53     ` Eli Zaretskii
2018-11-16 16:00       ` Uwe Brauer
2018-11-16 16:08         ` Eli Zaretskii
2018-11-16 16:31           ` Uwe Brauer
2018-11-16 16:35           ` Uwe Brauer
2018-11-16 17:23             ` Eli Zaretskii
2018-11-20 19:30         ` Charles A. Roelli

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

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

  git send-email \
    --in-reply-to=jwva7m93ura.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.