From: Zhang Wei <id.brep@gmail.com>
Cc: Hongsheng <zhaohscas@yahoo.com.cn>
Subject: Re: Emacs unicode 2 cvs display chaos chodes on GB18030 chinese encoding files.
Date: Mon, 20 Nov 2006 20:54:23 +0800 [thread overview]
Message-ID: <uslge46tc.fsf@gmail.com> (raw)
In-Reply-To: <20061120115818.GA5263@localdomain> (Hongsheng's message of "Mon\, 20 Nov 2006 19\:58\:18 +0800")
Hongsheng <zhaohscas@yahoo.com.cn> 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.
next prev parent reply other threads:[~2006-11-20 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 11:58 Emacs unicode 2 cvs display chaos chodes on GB18030 chinese encoding files Hongsheng
2006-11-20 12:54 ` Zhang Wei [this message]
2006-11-28 6:33 ` Kenichi Handa
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=uslge46tc.fsf@gmail.com \
--to=id.brep@gmail.com \
--cc=zhaohscas@yahoo.com.cn \
/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).