From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: How to save a file with embedded unicode maths symbols
Date: Tue, 10 Mar 2020 09:03:45 -0400 [thread overview]
Message-ID: <jwvd09ks6sq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: lxmu8o1odt.fsf@cochabamba.vanoostrum.org
>>> What you see is the utf-8 encoding of Φ interpreted on reading as
>>> latin-1 (iso-8859-1) or a similar encoding, like Windows-1252. Is your
>>> Emacs configured to prefer one of these encodings?
>> I have not made any specific encoding config changes as far as I am aware.
>> Yes I opened the file in emacs.
Hmm... nowadays, Emacs should use utf-8 by default when possible
(i.e. if it is a valid utf-8 encoding, then we should assume that it is
indeed utf-8). AFAIK that's already the case in the default config.
What happens if you open the file in an Emacs with none of your personal
config changes? E.g. with `emacs -Q <thefile>`?
Stefan
next prev parent reply other threads:[~2020-03-10 13:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <e68aa1ba-3e40-4d3d-b037-9c9560a257b5@googlegroups.com>
2020-03-09 13:14 ` How to save a file with embedded unicode maths symbols Pieter van Oostrum
[not found] ` <mailman.2329.1583759953.2412.help-gnu-emacs@gnu.org>
[not found] ` <dfb30828-24b0-47d0-bcbb-7e732b29e22e@googlegroups.com>
2020-03-09 16:27 ` Pieter van Oostrum
[not found] ` <mailman.2341.1583771249.2412.help-gnu-emacs@gnu.org>
[not found] ` <5e13d072-68da-4d3b-a62f-e48c0543b0f9@googlegroups.com>
2020-03-10 10:43 ` Pieter van Oostrum
2020-03-10 13:03 ` Stefan Monnier [this message]
2020-03-10 14:45 ` Eli Zaretskii
2020-03-10 14:54 ` Stefan Monnier
2020-03-10 15:14 ` Eli Zaretskii
2020-03-10 14:43 ` Eli Zaretskii
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=jwvd09ks6sq.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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).