unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs unicode 2 cvs display chaos chodes on GB18030 chinese encoding files.
Date: Tue, 28 Nov 2006 15:33:57 +0900	[thread overview]
Message-ID: <E1GowXV-0007ns-Fu@etlken.m17n.org> (raw)
In-Reply-To: <20061120115818.GA5263@localdomain> (message from Hongsheng on Mon, 20 Nov 2006 19:58:18 +0800)

Sorry for the late response.

In article <20061120115818.GA5263@localdomain>, Hongsheng <zhaohscas@yahoo.com.cn> writes:

> This problem have been resoved by you, in my mind, but now, it appear again.

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

> Why?

That's because GB18030-chaos.tex contains this line:

\usepackage[latin1]{inputenc}

For *.tex file, latexenc-find-file-coding-system runs to
check the encoding.

When you delete that line, Emacs shoule be able to detect
that the file is in GB18030 in Chinese-GB18030 lang. env.

Why do you have that line when your file is not Latin-1.

---
Kenichi Handa
handa@m17n.org

      parent reply	other threads:[~2006-11-28  6:33 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
2006-11-28  6:33 ` Kenichi Handa [this message]

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=E1GowXV-0007ns-Fu@etlken.m17n.org \
    --to=handa@m17n.org \
    --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).