From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: Re: This GB18030 encoding file will be chaos in Emacs Unicode 2 even %% -*- coding: gb18030; -*- is used. Date: Tue, 5 Dec 2006 22:57:02 +0800 Message-ID: <20061205145702.GA4878@localdomain> References: <20061205114011.GA16948@localdomain> Reply-To: Hongyi Zhao NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1165348131 6773 80.91.229.10 (5 Dec 2006 19:48:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2006 19:48:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 05 20:48:49 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GrgHX-0007qm-Vk for ged-emacs-devel@m.gmane.org; Tue, 05 Dec 2006 20:48:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrgHX-0000xx-J8 for ged-emacs-devel@m.gmane.org; Tue, 05 Dec 2006 14:48:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Grbfq-0002wJ-I6 for emacs-devel@gnu.org; Tue, 05 Dec 2006 09:53:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Grbfo-0002uM-4h for emacs-devel@gnu.org; Tue, 05 Dec 2006 09:53:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Grbfo-0002uI-16 for emacs-devel@gnu.org; Tue, 05 Dec 2006 09:53:32 -0500 Original-Received: from [64.233.162.236] (helo=nz-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Grbfo-00067q-5Q for emacs-devel@gnu.org; Tue, 05 Dec 2006 09:53:32 -0500 Original-Received: by nz-out-0102.google.com with SMTP id r28so1994959nza for ; Tue, 05 Dec 2006 06:53:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent; b=nS/5a11K08EeqgTFi+srWDUqZhUqUR2MhTf7elcUj12wnO3w/ejP/8P96nuHpL8j4ohW5sGESE3nw6ExzYO6M036kNAsqVvaFauNFKHRF9y4HyIGwYIyLATid2s4xxMvMw7pdl5AmtoZn7iMLXLplktd0/wAXYm5zIADsdj5PBU= Original-Received: by 10.35.21.1 with SMTP id y1mr1210531pyi.1165330411157; Tue, 05 Dec 2006 06:53:31 -0800 (PST) Original-Received: from localhost ( [159.226.135.215]) by mx.google.com with ESMTP id v66sm13690338pyh.2006.12.05.06.53.27; Tue, 05 Dec 2006 06:53:30 -0800 (PST) Original-To: Zhang Wei Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 X-Mailman-Approved-At: Tue, 05 Dec 2006 14:46:35 -0500 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:63326 Archived-At: > 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" Yes, this will solve the problem. > will solve the problem, if you don't like reverting buffer everytime, > just try this: > > %% -*- coding: gb18030-dos; -*- But ... this method can't solve the problem on my system :-) -- Hongyi Zhao 赵弘毅 -- 《奉和圣制从蓬莱向兴庆阁道中留春雨中春望之作应制》 作者:王维 渭水自萦秦塞曲,黄山旧绕汉宫斜。 銮舆迥出千门柳,阁道回看上苑花。 云里帝城双凤阙,雨中春树万人家。 为乘阳气行时令,不是宸游玩物华。