* This GB18030 encoding file will be chaos in Emacs Unicode 2 even %% -*- coding: gb18030; -*- is used.
@ 2006-12-05 11:40 Hongyi Zhao
2006-12-05 12:36 ` Zhang Wei
0 siblings, 1 reply; 3+ messages in thread
From: Hongyi Zhao @ 2006-12-05 11:40 UTC (permalink / raw)
Cc: Emacs-devel
[-- Attachment #1: Type: text/plain, Size: 631 bytes --]
Dear Zhang Wei,
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!
Furthmore, if I use the utf8 encoding scheme, the problem will disappear automatically.
--
Hongyi Zhao <hongyi.zhao@gmail.com>
赵弘毅
--
《寻隐者不遇》
作者:贾岛
松下问童子,言师采药去。
只在此山中,云深不知处。
[-- Attachment #2: slide-gb18030-chaos.tex.bz2 --]
[-- Type: application/octet-stream, Size: 6466 bytes --]
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: This GB18030 encoding file will be chaos in Emacs Unicode 2 even %% -*- coding: gb18030; -*- is used.
2006-12-05 11:40 This GB18030 encoding file will be chaos in Emacs Unicode 2 even %% -*- coding: gb18030; -*- is used Hongyi Zhao
@ 2006-12-05 12:36 ` Zhang Wei
2006-12-05 14:57 ` Hongyi Zhao
0 siblings, 1 reply; 3+ messages in thread
From: Zhang Wei @ 2006-12-05 12:36 UTC (permalink / raw)
Cc: emacs-devel
Hongyi Zhao <hongyi.zhao@gmail.com> 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; -*-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: This GB18030 encoding file will be chaos in Emacs Unicode 2 even %% -*- coding: gb18030; -*- is used.
2006-12-05 12:36 ` Zhang Wei
@ 2006-12-05 14:57 ` Hongyi Zhao
0 siblings, 0 replies; 3+ messages in thread
From: Hongyi Zhao @ 2006-12-05 14:57 UTC (permalink / raw)
Cc: emacs-devel
> 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"
Yes, this will solve the problem.
> will solve the problem, if you don't like reverting buffer everytime,
> just try this:
>
> %% -*- coding: gb18030-dos; -*-
But ... this method can't solve the problem on my system :-)
--
Hongyi Zhao <hongyi.zhao@gmail.com>
赵弘毅
--
《奉和圣制从蓬莱向兴庆阁道中留春雨中春望之作应制》
作者:王维
渭水自萦秦塞曲,黄山旧绕汉宫斜。
銮舆迥出千门柳,阁道回看上苑花。
云里帝城双凤阙,雨中春树万人家。
为乘阳气行时令,不是宸游玩物华。
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-05 14:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 11:40 This GB18030 encoding file will be chaos in Emacs Unicode 2 even %% -*- coding: gb18030; -*- is used Hongyi Zhao
2006-12-05 12:36 ` Zhang Wei
2006-12-05 14:57 ` Hongyi Zhao
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).