all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zhang Wei <id.brep@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: This GB18030 encoding file will be chaos in Emacs Unicode 2 even %% -*- coding: gb18030; -*- is used.
Date: Tue, 05 Dec 2006 20:36:39 +0800	[thread overview]
Message-ID: <uwt568qp4.fsf@gmail.com> (raw)
In-Reply-To: <20061205114011.GA16948@localdomain> (Hongyi Zhao's message of "Tue\, 5 Dec 2006 19\:40\:11 +0800")

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; -*-

  reply	other threads:[~2006-12-05 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2006-12-05 14:57   ` Hongyi Zhao

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

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

  git send-email \
    --in-reply-to=uwt568qp4.fsf@gmail.com \
    --to=id.brep@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 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.