emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs unicode 2 cvs display chaos chodes on GB18030 chinese encoding


From: Zhang Wei
Subject: Re: Emacs unicode 2 cvs display chaos chodes on GB18030 chinese encoding files.
Date: Mon, 20 Nov 2006 20:54:23 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0

Hongsheng <address@hidden> writes:

[...]

> Attached are two tex files encoded with GB18030, the Emacs will display
> GB18030-nomal.tex correctly, but the chinese characters in GB18030-chaos.tex
> will be chaos, all the chaos codes use the *ISO8859-1*  encoding scheme.

Just C-x <RET> r gbk, or C-x <RET> r gb18030, to revert your buffer with
the proper coding system, Emacs is not always so smart to detect coding
system correctly.

Use file variables wherever possible, put

%% -*- coding: gb18030; -*-

as the first line of your tex file, or put

%% Local Variables:
%% coding: gb18030
%% End:

at the end of your tex file.




reply via email to

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