From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Emacs unicode 2 cvs display chaos chodes on GB18030 chinese encoding files. Date: Tue, 28 Nov 2006 15:33:57 +0900 Message-ID: References: <20061120115818.GA5263@localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1164695617 17434 80.91.229.2 (28 Nov 2006 06:33:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 06:33:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 28 07:33:34 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GowWz-0000Gt-0G for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 07:33:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GowWy-0006Ie-Ge for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 01:33:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GowWd-0006Gf-2Y for emacs-devel@gnu.org; Tue, 28 Nov 2006 01:33:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GowWZ-0006D5-SC for emacs-devel@gnu.org; Tue, 28 Nov 2006 01:33:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GowWZ-0006Ck-Lm for emacs-devel@gnu.org; Tue, 28 Nov 2006 01:32:59 -0500 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GowWY-0000dP-Jt for emacs-devel@gnu.org; Tue, 28 Nov 2006 01:32:59 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id kAS6WurC002911; Tue, 28 Nov 2006 15:32:56 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id kAS6WuBt007916; Tue, 28 Nov 2006 15:32:56 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id kAS6WtDh007967; Tue, 28 Nov 2006 15:32:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1GowXV-0007ns-Fu; Tue, 28 Nov 2006 15:33:57 +0900 Original-To: Hongsheng In-reply-to: <20061120115818.GA5263@localdomain> (message from Hongsheng on Mon, 20 Nov 2006 19:58:18 +0800) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62916 Archived-At: Sorry for the late response. In article <20061120115818.GA5263@localdomain>, Hongsheng 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