all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: LdBeth <andpuke@foxmail.com>
To: "Feng Shu" <tumashu@163.com>
Cc: emacs-devel@gnu.org
Subject: Re: utf-8-unix vs utf-8-emacs-unix
Date: Thu, 30 Dec 2021 11:11:06 +0800	[thread overview]
Message-ID: <tencent_551B9D1A2BAD3F73B788EE6247D09E2A8C07@qq.com> (raw)
In-Reply-To: <87tueqyfvs.fsf@163.com>

>>>>> In <87tueqyfvs.fsf@163.com> 
>>>>>	"Feng Shu" <tumashu@163.com> wrote:

Feng> Hello:

Feng> Before I use:

Feng>  ;; Local Variables:
Feng>  ;; coding: utf-8-unix
Feng>  ;; End:

Feng> Can I change it to the below?

Feng>  ;; Local Variables:
Feng>  ;; coding: utf-8-emacs-unix
Feng>  ;; End:


Feng> If I just save Chinese?

There's a description about utf-8-emacs from Emacs info manual, under
section Coding Systems:

>   The coding system ‘emacs-internal’ (or ‘utf-8-emacs’, which is
> equivalent) means that the file contains non-ASCII characters stored
> with the internal Emacs encoding.  This coding system handles
> end-of-line conversion based on the data encountered, and has the
> usual three variants to specify the kind of end-of-line conversion.

The internal encoding is a "superset" of unicode, so at least you can
expect it is compatible with the utf-8-unix.

-- 
LDB



      parent reply	other threads:[~2021-12-30  3:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30  2:40 utf-8-unix vs utf-8-emacs-unix Feng Shu
2021-12-30  2:43 ` Po Lu
2021-12-30  3:11 ` LdBeth [this message]

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=tencent_551B9D1A2BAD3F73B788EE6247D09E2A8C07@qq.com \
    --to=andpuke@foxmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=tumashu@163.com \
    /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.