[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: This GB18030 encoding file will be chaos in Emacs Unicode 2 even %%
Re: This GB18030 encoding file will be chaos in Emacs Unicode 2 even %% -*- coding: gb18030; -*- is used.
Tue, 05 Dec 2006 20:36:39 +0800
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91
Hongyi Zhao <address@hidden> writes:
> I've installed the Emacs from its latest CVS, this is, your patch on
> gbk-gb18030 has included in it. But now, I can't display some files
> correctly when encoding with gb18030, the attacted is a sample
> file. So I use the variable you told me, put the following at the
> first line of my tex file:
> %% -*- coding: gb18030; -*-
> But the problem is still the same!
No problem opening this file, except Emacs didn't recognize the
end-of-line format correctly, revert the buffer with "C-x RET r dos"
will solve the problem, if you don't like reverting buffer everytime,
just try this:
%% -*- coding: gb18030-dos; -*-