emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: utf-8-unix vs utf-8-emacs-unix


From: LdBeth
Subject: Re: utf-8-unix vs utf-8-emacs-unix
Date: Thu, 30 Dec 2021 11:11:06 +0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.2 (x86_64-apple-darwin18.7.0) MULE/6.0 (HANACHIRUSATO)

>>>>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]