unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: emacs-devel@gnu.org
Subject: The chaos codes appear again when using Emacs Unicode 2 CVS to open it.
Date: Thu, 28 Dec 2006 23:44:07 +0800	[thread overview]
Message-ID: <20061228154407.GA10456@localdomain> (raw)

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

                 reply	other threads:[~2006-12-28 15:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061228154407.GA10456@localdomain \
    --to=hongyi.zhao@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).