From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Going Unicode all out in Emacs 26.1
Date: Sat, 09 Jun 2018 15:19:43 +0300 [thread overview]
Message-ID: <83sh5wrw2o.fsf@gnu.org> (raw)
In-Reply-To: <krpqx3bmck6z3b.fsf@gmail.com> (message from Sivaram Neelakantan on Sat, 09 Jun 2018 15:50:08 +0530)
> From: Sivaram Neelakantan <nsivaram.net@gmail.com>
> Date: Sat, 09 Jun 2018 15:50:08 +0530
>
> > Please explain what you mean by "work in Unicode". I don't think I
> > understand the issues you are having or are envisioning to have. And
> > "Unicode" has a very specific interpretation in the Windows world, in
> > some contexts.
>
> I have no issues so far; all I wanted to know was whether there are
> any .Emacs settings that needs to be fiddled with to make Unicode work
> on Windows. I just checked the Hello file, all languages seem to
> render correctly in terms of the chars that I see. I see that the
> modeline has got a U with a tooltip 'utf-8-emacs-dos' which should
> allow me to work in Emacs and nonemacs Windows application like
> notepad(reading the file for e.g)?
Well, that doesn't really answer my question, sop I'd try to answer
what I think you may be asking.
. Visiting UTF-8 encoded files should "just work".
. If you want to _create_ UTF-8 encoded files, you will need to
request that explicitly using "C-x RET c" before saving a file.
. Visiting UTF-16 encoded files may require "C-x RET c" before
"C-x C-f". (UTF-16 is what is called "Unicode" on Windows, which
was one reason why I asked my question.)
. File names are supported even if they include characters not
supported by the current system codepage.
. Receiving sub-process output encoded in UTF-8 should work with
programs known to output UTF-8, such as Git; in other cases you may
need to use "C-x RET c" or customize your process-coding-system-alist.
. Beware of passing to programs command-line arguments encoded in
UTF-8: that doesn't work.
HTH
next prev parent reply other threads:[~2018-06-09 12:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-06 19:57 Going Unicode all out in Emacs 26.1 Sivaram Neelakantan
2018-06-06 20:59 ` Stefan Monnier
2018-06-06 21:23 ` Drew Adams
2018-06-07 7:31 ` Van L
2018-06-07 2:37 ` Eli Zaretskii
[not found] ` <mailman.1389.1528339036.1292.help-gnu-emacs@gnu.org>
2018-06-09 10:20 ` Sivaram Neelakantan
2018-06-09 12:19 ` Eli Zaretskii [this message]
2018-06-09 15:00 ` Filipp Gunbin
2018-06-09 15:24 ` Eli Zaretskii
2018-06-09 19:35 ` Filipp Gunbin
2018-06-11 4:59 ` Xavier Maillard
2018-06-11 15:15 ` Eli Zaretskii
2018-06-12 4:38 ` Xavier Maillard
[not found] ` <mailman.1597.1528557879.1292.help-gnu-emacs@gnu.org>
2018-06-12 17:32 ` Sivaram Neelakantan
[not found] ` <mailman.1587.1528546789.1292.help-gnu-emacs@gnu.org>
2018-06-09 19:44 ` Sivaram Neelakantan
2018-06-10 2:33 ` 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=83sh5wrw2o.fsf@gnu.org \
--to=eliz@gnu.org \
--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).