all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* The chaos codes appear again when using Emacs Unicode 2 CVS to open it.
@ 2006-12-28 15:44 Hongyi Zhao
  0 siblings, 0 replies; only message in thread
From: Hongyi Zhao @ 2006-12-28 15:44 UTC (permalink / raw)
  Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]

Dear Handa-san,

The attached file is downloaded by me from the following URL:

http://www.math.org.cn/forums/index.php?s=8d5ced06083e1806f0e9cdef2901d190&act=Attach&type=post&id=9067

When I open it with latest Emacs Unicode CVS 2 version compiled by me, some
characters in it is displayed as chaos codes, when I open it with gedit, the
chaos codes will disappear.

And I find the files original code scheme is GB18030, so I use the global
file variable in the begin of the file:

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

But this cann't solve the problem at all.

Furthmore, inasmuch as the Emacs Unicode CVS has the capability of
supporting GB18030 and GBK, so I think the the file variable such as:

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

shouldn't be used, that is, the Emacs itself should do these things
automatically.  I think it can, because lisp it very powerful and
intelligent.  Do you think so?


-------------------------------------------------------------------------------
Honyi Zhao (赵弘毅) <hongyi.zhao@gmail.com>         Chinese Academy of Sciences
gpg DSA: 0xD108493B      fp: 5BFB CEAF DCE4 F461 F929  7D28 05B6 D6AE D108 493B
-------------------------------------------------------------------------------

《征人怨》
作者:柳中庸
岁岁金河复玉关,朝朝马策与刀环。
三春白雪归青冢,万里黄河绕黑山。

[-- Attachment #2: PDFSCREEN-Chinese.tex.bz2 --]
[-- Type: application/octet-stream, Size: 6354 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] only message in thread

only message in thread, other threads:[~2006-12-28 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28 15:44 The chaos codes appear again when using Emacs Unicode 2 CVS to open it Hongyi Zhao

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.